Added in API level 31
MediaMetricsManager
public final class MediaMetricsManager
extends Object
java.lang.Object | |
↳ | android.media.metrics.MediaMetricsManager |
This class gives information about, and interacts with media metrics.
Summary
Constants | |
---|---|
long | INVALID_TIMESTAMP
|
Public methods | |
---|---|
BundleSession | createBundleSession() Creates a generic bundle session. |
EditingSession | createEditingSession() Creates a editing session. |
PlaybackSession | createPlaybackSession() Creates a playback session. |
RecordingSession | createRecordingSession() Creates a recording session. |
TranscodingSession | createTranscodingSession() Creates a transcoding session. |
void | releaseSessionId(String sessionId) Creates a generic bundle session. |
Inherited methods | |
---|---|
Constants
INVALID_TIMESTAMP
Added in API level 31
public static final long INVALID_TIMESTAMP
Constant Value: -1 (0xffffffffffffffff)
Public methods
createBundleSession
Added in API level 33
public BundleSession createBundleSession ()
Creates a generic bundle session.
Returns | |
---|---|
BundleSession | This value cannot be null . |
createEditingSession
Added in API level 33
public EditingSession createEditingSession ()
Creates a editing session.
Returns | |
---|---|
EditingSession | This value cannot be null . |
createPlaybackSession
Added in API level 31
public PlaybackSession createPlaybackSession ()
Creates a playback session.
Returns | |
---|---|
PlaybackSession | This value cannot be null . |
createRecordingSession
Added in API level 31
public RecordingSession createRecordingSession ()
Creates a recording session.
Returns | |
---|---|
RecordingSession | This value cannot be null . |
createTranscodingSession
Added in API level 33
public TranscodingSession createTranscodingSession ()
Creates a transcoding session.
Returns | |
---|---|
TranscodingSession | This value cannot be null . |
releaseSessionId
Added in API level 33
public void releaseSessionId (String sessionId)
Creates a generic bundle session.
Parameters | |
---|---|
sessionId | String : This value cannot be null . |
Returns | |
---|---|
void | This value cannot be null . |