Added in API level 31

android.media.metrics


Classes

BundleSession An instances of this class represents a session with data stored in a bundle. 
EditingEndedEvent Event for an editing operation having ended. 
EditingEndedEvent.Builder Builder for EditingEndedEvent 
EditingSession Represents a session of media editing, for example, transcoding between formats, transmuxing or applying trimming or audio/video effects to a stream. 
Event Abstract class for metrics events. 
LogSessionId An instances of this class represents the ID of a log session. 
MediaItemInfo Represents information about a piece of media (for example, an audio or video file). 
MediaItemInfo.Builder Builder for MediaItemInfo
MediaMetricsManager This class gives information about, and interacts with media metrics. 
NetworkEvent Media network event. 
NetworkEvent.Builder A builder for NetworkEvent 
PlaybackErrorEvent Playback error event. 
PlaybackErrorEvent.Builder A builder for PlaybackErrorEvent 
PlaybackMetrics This class is used to store playback data. 
PlaybackMetrics.Builder A builder for PlaybackMetrics 
PlaybackSession An instance of this class represents a session of media playback used to report playback metrics and events. 
PlaybackStateEvent Playback state event. 
PlaybackStateEvent.Builder A builder for PlaybackStateEvent 
RecordingSession An instances of this class represents a session of media recording. 
TrackChangeEvent Playback track change event. 
TrackChangeEvent.Builder A builder for TrackChangeEvent 
TranscodingSession An instances of this class represents a session of media Transcoding.