Added in API level 31
    MediaMetricsManager
class MediaMetricsManager
| kotlin.Any | |
| ↳ | android.media.metrics.MediaMetricsManager | 
This class gives information about, and interacts with media metrics.
Summary
| Constants | |
|---|---|
| static Long | |
| Public methods | |
|---|---|
| BundleSession | Creates a generic bundle session. | 
| EditingSession | Creates a editing session. | 
| PlaybackSession | Creates a playback session. | 
| RecordingSession | Creates a recording session. | 
| TranscodingSession | Creates a transcoding session. | 
| Unit | releaseSessionId(sessionId: String)Creates a generic bundle session. | 
Constants
Public methods
createBundleSession
Added in API level 33
      fun createBundleSession(): BundleSession
Creates a generic bundle session.
| Return | |
|---|---|
| BundleSession | This value cannot be null. | 
createEditingSession
Added in API level 33
      fun createEditingSession(): EditingSession
Creates a editing session.
| Return | |
|---|---|
| EditingSession | This value cannot be null. | 
createPlaybackSession
Added in API level 31
      fun createPlaybackSession(): PlaybackSession
Creates a playback session.
| Return | |
|---|---|
| PlaybackSession | This value cannot be null. | 
createRecordingSession
Added in API level 31
      fun createRecordingSession(): RecordingSession
Creates a recording session.
| Return | |
|---|---|
| RecordingSession | This value cannot be null. | 
createTranscodingSession
Added in API level 33
      fun createTranscodingSession(): TranscodingSession
Creates a transcoding session.
| Return | |
|---|---|
| TranscodingSession | This value cannot be null. | 
releaseSessionId
Added in API level 33
      fun releaseSessionId(sessionId: String): Unit
Creates a generic bundle session.
| Parameters | |
|---|---|
| sessionId | String: This value cannot be null. | 
| Return | |
|---|---|
| Unit | This value cannot be null. | 
