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
public static final long INVALID_TIMESTAMP
Constant Value: -1 (0xffffffffffffffff)
Public methods
createBundleSession
public BundleSession createBundleSession ()
Creates a generic bundle session.
Returns | |
---|---|
BundleSession |
This value cannot be null . |
createEditingSession
public EditingSession createEditingSession ()
Creates a editing session.
Returns | |
---|---|
EditingSession |
This value cannot be null . |
createPlaybackSession
public PlaybackSession createPlaybackSession ()
Creates a playback session.
Returns | |
---|---|
PlaybackSession |
This value cannot be null . |
createRecordingSession
public RecordingSession createRecordingSession ()
Creates a recording session.
Returns | |
---|---|
RecordingSession |
This value cannot be null . |
createTranscodingSession
public TranscodingSession createTranscodingSession ()
Creates a transcoding session.
Returns | |
---|---|
TranscodingSession |
This value cannot be null . |
releaseSessionId
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 . |