@UnstableApi
interface Bundleable

Known direct subclasses
AdPlaybackState.AdGroup

Represents a group of ads, with information about their states.

AdPlaybackState

Represents ad group times and information on the state and URIs of ads within each ad group.

AudioAttributes

Attributes for audio playback, which configure the underlying platform .

ColorInfo

Stores color info.

CommandButton

A button for a SessionCommand or Player.Command that can be displayed by controllers.

CueGroup

Class to represent the state of active Cues at a particular time.

Cue

Contains information about a specific cue, including textual content and formatting data.

DefaultTrackSelector.Parameters

Extends Parameters by adding fields that are specific to DefaultTrackSelector.

DefaultTrackSelector.SelectionOverride

A track selection override.

DeviceInfo

Information about the playback device.

Format

Represents a media format.

ImaServerSideAdInsertionMediaSource.AdsLoader.State

The state of the AdsLoader that can be used when resuming from the background.

LibraryResult

A result to be used with ListenableFuture for asynchronous calls between and MediaBrowser.

MediaItem.AdsConfiguration

Configuration for playing back linear ads with a media item.

MediaItem.ClippingConfiguration

Optionally clips the media item to a custom start and end position.

MediaItem.DrmConfiguration

DRM configuration for a media item.

MediaItem.LiveConfiguration

Live playback configuration.

MediaItem.LocalConfiguration

Properties for local playback.

MediaItem.RequestMetadata

Metadata that helps the player to understand a playback request represented by a .

MediaItem.SubtitleConfiguration

Properties for a text track.

MediaItem

Representation of a media item.

MediaLibraryService.LibraryParams

Parameters for the interaction between MediaBrowser and MediaLibrarySession.

MediaMetadata

Metadata of a MediaItem, playlist, or a combination of multiple sources of .

PlaybackException

Thrown when a non locally recoverable playback failure occurs.

PlaybackParameters

Parameters that apply to playback, including speed setting.

Player.Commands

A set of commands.

Player.PositionInfo

Position info describing a playback position involved in a discontinuity.

Rating

A rating for media content.

SessionCommand

A command that a MediaController can send to a MediaSession.

SessionCommands

A set of session commands.

SessionResult

A result to be used with ListenableFuture for asynchronous calls between and MediaController.

SessionToken

A token that represents an ongoing MediaSession or a service (, MediaLibraryService, or MediaBrowserServiceCompat).

StreamKey

A key for a subset of media that can be separately loaded (a "stream").

Timeline.Period

Holds information about a period in a Timeline.

Timeline.Window

Holds information about a window in a Timeline.

Timeline

A flexible representation of the structure of media.

TrackGroupArray

An immutable array of TrackGroups.

TrackGroup

An immutable group of tracks available within a media stream.

TrackSelectionOverride

A track selection override, consisting of a TrackGroup and the indices of the tracks within the group that should be selected.

TrackSelectionParameters.AudioOffloadPreferences

Preferences and constraints for enabling audio offload.

TrackSelectionParameters

Parameters for controlling track selection.

Tracks.Group

Information about a single group of tracks, including the underlying TrackGroup, the level to which each track is supported by the player, and whether any of the tracks are selected.

Tracks

Information about groups of tracks.

VideoSize

Represents the video size.

Known indirect subclasses
AbstractConcatenatedTimeline

Abstract base class for the concatenation of one or more Timelines.

DefaultTrackSelector.Parameters

Extends Parameters by adding fields that are specific to DefaultTrackSelector.

ExoPlaybackException

Thrown when a non locally recoverable playback failure occurs.

FakeMediaSource.InitialTimeline

A forwarding timeline to provide an initial timeline for fake multi window sources.

FakeMultiPeriodLiveTimeline

A fake Timeline that produces a live window with periods according to the available time range.

FakeTimeline

Fake Timeline which can be setup to return custom TimelineWindowDefinitions.

ForwardingTimeline

An overridable Timeline implementation forwarding all methods to another timeline.

HeartRating

A rating expressed as "heart" or "no heart".

MaskingMediaSource.PlaceholderTimeline

A timeline with one dynamic window with a period of indeterminate duration.

MediaItem.ClippingProperties

This class is deprecated.

Use ClippingConfiguration instead.

MediaItem.Subtitle

This class is deprecated.

Use MediaItem.SubtitleConfiguration instead

PercentageRating

A rating expressed as a percentage.

SinglePeriodAdTimeline

A Timeline for sources that have ads.

SinglePeriodTimeline

A Timeline consisting of a single period and static window.

StarRating

A rating expressed as a fractional number of stars.

ThumbRating

A rating expressed as "thumbs up" or "thumbs down".

Timeline.RemotableTimeline

A concrete class of Timeline to restore a Timeline instance from a sent by another process via IBinder.

TimelineWithUpdatedMediaItem

A Timeline that overrides the MediaItem.


Summary

Nested types

interface Bundleable.Creator<T : Bundleable?>

This interface is deprecated.

Interface not needed, call fromBundle() on the target type directly.

Public functions

Bundle!

Returns a Bundle representing the information stored in this object.

Public functions

toBundle

fun toBundle(): Bundle!

Returns a Bundle representing the information stored in this object.