Skip navigation links
A B C D G H I M N O P R S T U V W 

A

addListener(MediaPlayerController.Listener) - Method in interface com.apple.android.music.playback.controller.MediaPlayerController
Registers the media player controller to listen to events, which is maintained with a strong reference.
addQueueItems(PlaybackQueueItemProvider, int) - Method in interface com.apple.android.music.playback.controller.MediaPlayerController
Adds the items from the specified playback queue item provider to the current playback queue insertion type, which controls where the items are loaded in the playback queue.
ALBUM - Static variable in annotation type com.apple.android.music.playback.model.MediaContainerType
 
ARTIST - Static variable in annotation type com.apple.android.music.playback.model.MediaContainerType
 
AuthenticationFactory - Class in com.apple.android.sdk.authentication
Factory to help create an instance of AuthenticationManager
AuthenticationFactory() - Constructor for class com.apple.android.sdk.authentication.AuthenticationFactory
 
AuthenticationManager - Interface in com.apple.android.sdk.authentication
AuthenticationManager interface
AuthIntentBuilder - Class in com.apple.android.sdk.authentication
Utility class to help create an Intent to start the music kit authentication flow.
AuthIntentBuilder(Context, String) - Constructor for class com.apple.android.sdk.authentication.AuthIntentBuilder
Creates an instance of the AuthIntentBuilder.

B

build() - Method in class com.apple.android.music.playback.queue.CatalogPlaybackQueueItemProvider.Builder
Creates a new catalog playback queue item provider using the values specified to this builder.
build() - Method in class com.apple.android.sdk.authentication.AuthIntentBuilder
Returns the intent which can be used to start the music kit authentication flow.
Builder() - Constructor for class com.apple.android.music.playback.queue.CatalogPlaybackQueueItemProvider.Builder
 

C

canAppendToPlaybackQueue() - Method in interface com.apple.android.music.playback.controller.MediaPlayerController
A Boolean value that indicates whether it's possible to append items to the playback queue.
canEditPlaybackQueue() - Method in interface com.apple.android.music.playback.controller.MediaPlayerController
A Boolean value that indicates whether it's possible to move or remove items from the playback queue.
canPrependToPlaybackQueue() - Method in interface com.apple.android.music.playback.controller.MediaPlayerController
A Boolean value that indicates whether it's possible to prepend items to the playback queue.
canSeek() - Method in interface com.apple.android.music.playback.controller.MediaPlayerController
A Boolean that indicates whether it's possible to seek to a position in the current playback item.
canSetRadioLikeState() - Method in interface com.apple.android.music.playback.controller.MediaPlayerController
Gets whether it is currently possible to set the radio like state for the currently playing item.
canSetRepeatMode() - Method in interface com.apple.android.music.playback.controller.MediaPlayerController
A Boolean value that indicates whether it's possible to change the active repeat mode.
canSetShuffleMode() - Method in interface com.apple.android.music.playback.controller.MediaPlayerController
A Boolean value that indicates whether it's possible to change the active shuffle mode.
canSkipToNextItem() - Method in interface com.apple.android.music.playback.controller.MediaPlayerController
A Boolean value that indicates whether it's possible to skip to the next item in the playback queue.
canSkipToPreviousItem() - Method in interface com.apple.android.music.playback.controller.MediaPlayerController
A Boolean value that indicates whether it's possible to skip to the previous item in the playback queue.
canSkipToQueueItem() - Method in interface com.apple.android.music.playback.controller.MediaPlayerController
A Boolean value that indicates whether it's possible to the skip to an item in the queue item list.
CatalogPlaybackQueueItemProvider - Class in com.apple.android.music.playback.queue
An object that populates the playback queue with items from the Apple Music Catalog.
CatalogPlaybackQueueItemProvider() - Constructor for class com.apple.android.music.playback.queue.CatalogPlaybackQueueItemProvider
 
CatalogPlaybackQueueItemProvider.Builder - Class in com.apple.android.music.playback.queue
A constructor that defines the builder for a catalog playback queue item provider.
com.apple.android.music.playback.controller - package com.apple.android.music.playback.controller
 
com.apple.android.music.playback.model - package com.apple.android.music.playback.model
 
com.apple.android.music.playback.queue - package com.apple.android.music.playback.queue
 
com.apple.android.sdk.authentication - package com.apple.android.sdk.authentication
 
containers(int, String...) - Method in class com.apple.android.music.playback.queue.CatalogPlaybackQueueItemProvider.Builder
Creates a playback queue populated by item containers with the specified IDs, which will be in the order of their containers, followed by the order of the IDs, unless a shuffle mode is set.
createAuthenticationManager(Context) - Static method in class com.apple.android.sdk.authentication.AuthenticationFactory
Returns an AuthenticationManager instance which can be used either to start the authentication flow or to extract the music user token from the authentication result.
createIntentBuilder(String) - Method in interface com.apple.android.sdk.authentication.AuthenticationManager
Creates an AuthIntentBuilder instance.
createLocalController(Context, TokenProvider) - Static method in class com.apple.android.music.playback.controller.MediaPlayerControllerFactory
Creates a local playback controller where event callbacks are posted to the application's main thread.
createLocalController(Context, Handler, TokenProvider) - Static method in class com.apple.android.music.playback.controller.MediaPlayerControllerFactory
Creates a local playback controller where event callbacks are posted to the specified thread.
CREATOR - Static variable in class com.apple.android.music.playback.queue.CatalogPlaybackQueueItemProvider
The creator of the playback queue.

D

DURATION_UNKNOWN - Static variable in interface com.apple.android.music.playback.controller.MediaPlayerController
The duration of the media item is unknown.

G

getAlbumArtistName() - Method in interface com.apple.android.music.playback.model.PlayerMediaItem
Gets the album artist name for this item.
getAlbumDiscCount() - Method in interface com.apple.android.music.playback.model.PlayerMediaItem
Gets the total number of discs on the item's album.
getAlbumDiscNumber() - Method in interface com.apple.android.music.playback.model.PlayerMediaItem
Gets the disc number for this item, if it's part of an album.
getAlbumSubscriptionStoreId() - Method in interface com.apple.android.music.playback.model.PlayerMediaItem
Gets the subscription store ID for the item's album, which is null if this item does not belong to an album.
getAlbumTitle() - Method in interface com.apple.android.music.playback.model.PlayerMediaItem
Gets the item's album title.
getAlbumTrackCount() - Method in interface com.apple.android.music.playback.model.PlayerMediaItem
Gets the total number of tracks on the item's album.
getAlbumTrackNumber() - Method in interface com.apple.android.music.playback.model.PlayerMediaItem
Gets the track number for this item, if it's part of an album.
getArtistName() - Method in interface com.apple.android.music.playback.model.PlayerMediaItem
Gets the artist name for this item.
getArtistSubscriptionStoreId() - Method in interface com.apple.android.music.playback.model.PlayerMediaItem
Gets the subscription store ID for the artists of this album, which is null if not applicable.
getArtworkUrl() - Method in interface com.apple.android.music.playback.model.PlayerMediaItem
Gets the artwork URL for this item, with the default dimensions.
getArtworkUrl(int, int) - Method in interface com.apple.android.music.playback.model.PlayerMediaItem
Gets the artwork URL for this item, with the specified dimensions.
getAssetUrl() - Method in interface com.apple.android.music.playback.model.PlayerMediaItem
Gets the asset url (if available) for this item.
getAvailableTracks() - Method in interface com.apple.android.music.playback.controller.MediaPlayerController
Gets the set of currently available tracks in the player.
getBufferedPosition() - Method in interface com.apple.android.music.playback.controller.MediaPlayerController
Gets the player's buffered position, in milliseconds.
getCloudLibraryUniversalId() - Method in interface com.apple.android.music.playback.model.PlayerMediaItem
 
getComposerName() - Method in interface com.apple.android.music.playback.model.PlayerMediaItem
Gets the name of the composer for this item.
getContainerPersistentId() - Method in class com.apple.android.music.playback.queue.CatalogPlaybackQueueItemProvider
 
getContainerStoreId() - Method in class com.apple.android.music.playback.queue.CatalogPlaybackQueueItemProvider
 
getContainerType() - Method in class com.apple.android.music.playback.queue.CatalogPlaybackQueueItemProvider
 
getCurrentContainerHashId() - Method in interface com.apple.android.music.playback.controller.MediaPlayerController
 
getCurrentContainerIndex() - Method in interface com.apple.android.music.playback.controller.MediaPlayerController
Gets the index of the currently playing item in the current media container.
getCurrentContainerPersistentId() - Method in interface com.apple.android.music.playback.controller.MediaPlayerController
Gets the persistent id of the currently playing media container, or null if there are no items loaded, or the player is not playing from a container with a persistent id.
getCurrentContainerStoreId() - Method in interface com.apple.android.music.playback.controller.MediaPlayerController
 
getCurrentContainerType() - Method in interface com.apple.android.music.playback.controller.MediaPlayerController
Gets the type of the currently playing media container.
getCurrentItem() - Method in interface com.apple.android.music.playback.controller.MediaPlayerController
Gets the current player queue item loaded into the player, which is null if no items have been loaded yet.
getCurrentPosition() - Method in interface com.apple.android.music.playback.controller.MediaPlayerController
Gets the current playback position, in milliseconds.
getCustomLyrics() - Method in interface com.apple.android.music.playback.model.PlayerMediaItem
Gets the custom, user-supplied lyrics for this item, or null if no custom lyrics exist.
getDeveloperToken() - Method in interface com.apple.android.sdk.authentication.TokenProvider
 
getDuration() - Method in interface com.apple.android.music.playback.controller.MediaPlayerController
Gets the duration, in milliseconds.
getDuration() - Method in interface com.apple.android.music.playback.model.PlayerMediaItem
Gets the playback duration in milliseconds for this item.
getError() - Method in class com.apple.android.sdk.authentication.TokenResult
Used to retrieve token generation errors if any.
getErrorCode() - Method in enum com.apple.android.sdk.authentication.TokenError
 
getErrorFromValue(int) - Static method in enum com.apple.android.sdk.authentication.TokenError
 
getExplicitContentRating() - Method in interface com.apple.android.music.playback.model.PlayerMediaItem
Gets the explicit content rating value for this item.
getExtraParams() - Method in exception com.apple.android.music.playback.model.MediaPlayerException
 
getGenreName() - Method in interface com.apple.android.music.playback.model.PlayerMediaItem
Gets the genre name for this item.
getItem() - Method in interface com.apple.android.music.playback.model.PlayerQueueItem
Gets the associated media item for this queue item, which contains metadata and other information about the media.
getItemAtIndex(int) - Method in class com.apple.android.music.playback.queue.CatalogPlaybackQueueItemProvider
 
getItemCount() - Method in class com.apple.android.music.playback.queue.CatalogPlaybackQueueItemProvider
 
getMusicUserToken() - Method in class com.apple.android.sdk.authentication.TokenResult
Used to retrieve the music user token.
getPersistentId() - Method in interface com.apple.android.music.playback.model.PlayerMediaItem
Gets the persistent (device local) id for this item, or 0 if not applicable.
getPlaybackEndpointParams() - Method in interface com.apple.android.music.playback.model.PlayerMediaItem
Gets the playback endpoint parameters for this item.
getPlaybackEndpointType() - Method in interface com.apple.android.music.playback.model.PlayerMediaItem
Gets the playback endpoint type for this item.
getPlaybackQueueId() - Method in interface com.apple.android.music.playback.model.PlayerQueueItem
Gets the queue ID for this instance, which is a unique identifier for this item in the playback queue.
getPlaybackQueueIndex() - Method in interface com.apple.android.music.playback.controller.MediaPlayerController
Gets the index in the playback queue of the currently playing item.
getPlaybackQueueItemCount() - Method in interface com.apple.android.music.playback.controller.MediaPlayerController
Gets the total number of items in the playback queue.
getPlaybackRate() - Method in interface com.apple.android.music.playback.controller.MediaPlayerController
Gets the current playback rate, as a multiple of 1.0 to denote the normal playback rate, 0 if playback is paused or stopped, or a negative value means that playback is playing in reverse.
getPlaybackState() - Method in interface com.apple.android.music.playback.controller.MediaPlayerController
Gets the playback state.
getPlaybackStoreId() - Method in interface com.apple.android.music.playback.model.PlayerMediaItem
Gets the store id to be used for playback purposes.
getQueueItems() - Method in interface com.apple.android.music.playback.controller.MediaPlayerController
Gets a bounded list of the queued items following the currently playing item in the playback queue, which will update as playback progresses, or new items are added to/removed from the queue.
getRadioLikeState() - Method in interface com.apple.android.music.playback.model.PlayerMediaItem
Gets the like state for this item, if it is being played in a radio context.
getReleaseDate() - Method in interface com.apple.android.music.playback.model.PlayerMediaItem
Gets the release date for this item.
getRepeatMode() - Method in interface com.apple.android.music.playback.controller.MediaPlayerController
Gets the repeat mode.
getShuffleMode() - Method in interface com.apple.android.music.playback.controller.MediaPlayerController
Gets the shuffle mode.
getSubscriptionStoreId() - Method in interface com.apple.android.music.playback.model.PlayerMediaItem
Gets the ID for this item in the subscription store, which is null if not applicable.
getTitle() - Method in interface com.apple.android.music.playback.model.PlayerMediaItem
Gets the title for this item.
getType() - Method in exception com.apple.android.music.playback.model.MediaPlayerException
Gets the type of the media player exception.
getType() - Method in interface com.apple.android.music.playback.model.PlayerMediaItem
Gets the type of media for this item.
getUrl() - Method in interface com.apple.android.music.playback.model.PlayerMediaItem
Gets the URL for this item.
getUserToken() - Method in interface com.apple.android.sdk.authentication.TokenProvider
 
getVideoHeight() - Method in interface com.apple.android.music.playback.controller.MediaPlayerController
Gets the height, in pixels, of the currently playing video, or 0 if no video is currently playing.
getVideoPixelAspectRatio() - Method in interface com.apple.android.music.playback.controller.MediaPlayerController
Gets the pixel aspect ratio of the currently playing video, or 0 if no video is currently playing.
getVideoWidth() - Method in interface com.apple.android.music.playback.controller.MediaPlayerController
Gets the width, in pixels, of the currently playing video, or 0 if no video is currently playing.

H

handleTokenResult(Intent) - Method in interface com.apple.android.sdk.authentication.AuthenticationManager
Extracts the TokenResult object from the data intent received in onActivityResult as a result of authentication.
hasCustomLyrics() - Method in interface com.apple.android.music.playback.model.PlayerMediaItem
Gets whether this item has custom, user-supplied lyrics.
hasDynamicMetadata() - Method in interface com.apple.android.music.playback.model.PlayerMediaItem
Gets whether this item has dynamic metadata (metadata that can update as playback progresses).
hasLyricsAvailable() - Method in interface com.apple.android.music.playback.model.PlayerMediaItem
Gets whether this item has lyrics available.

I

INDEX_UNSET - Static variable in interface com.apple.android.music.playback.controller.MediaPlayerController
The index of the current media item is unknown.
INSERTION_TYPE_AFTER_CURRENT_ITEM - Static variable in annotation type com.apple.android.music.playback.queue.PlaybackQueueInsertionType
 
INSERTION_TYPE_AT_END - Static variable in annotation type com.apple.android.music.playback.queue.PlaybackQueueInsertionType
 
INSERTION_TYPE_BEFORE_CURRENT_ITEM - Static variable in annotation type com.apple.android.music.playback.queue.PlaybackQueueInsertionType
 
INSERTION_TYPE_CLEAR_AND_REPLACE - Static variable in annotation type com.apple.android.music.playback.queue.PlaybackQueueInsertionType
 
INSERTION_TYPE_CREATE_STATION - Static variable in annotation type com.apple.android.music.playback.queue.PlaybackQueueInsertionType
 
INSERTION_TYPE_KEEP_AND_REPLACE - Static variable in annotation type com.apple.android.music.playback.queue.PlaybackQueueInsertionType
 
INSERTION_TYPE_NONE - Static variable in annotation type com.apple.android.music.playback.queue.PlaybackQueueInsertionType
 
INSERTION_TYPE_REPLACE - Static variable in annotation type com.apple.android.music.playback.queue.PlaybackQueueInsertionType
 
isBuffering() - Method in interface com.apple.android.music.playback.controller.MediaPlayerController
A Boolean value that indicates if the player is buffering.
isCacheable() - Method in interface com.apple.android.music.playback.model.PlayerMediaItem
Gets whether this item can cached locally.
isError() - Method in class com.apple.android.sdk.authentication.TokenResult
 
isExplicitContent() - Method in interface com.apple.android.music.playback.model.PlayerMediaItem
A Boolean value that indicates whether this item is explicit content, which is applicable for audio content and music videos.
isLiveStream() - Method in interface com.apple.android.music.playback.controller.MediaPlayerController
A Boolean value that indicates if the current media is a live stream.
isPlayableContent() - Method in interface com.apple.android.music.playback.model.PlayerMediaItem
A Boolean value that indicates whether this item is playable.
items(int, String...) - Method in class com.apple.android.music.playback.queue.CatalogPlaybackQueueItemProvider.Builder
Creates a playback queue populated by items with the specified IDs, which will be in the order specified unless a shuffle mode is set.

M

MediaContainerType - Annotation Type in com.apple.android.music.playback.model
Enumeration of the possible media container types.
MediaItemType - Annotation Type in com.apple.android.music.playback.model
Enumeration of the possible media item types.
MediaPlayerController - Interface in com.apple.android.music.playback.controller
An interface for controlling Apple Music media playback.
MediaPlayerController.Listener - Interface in com.apple.android.music.playback.controller
An interface defining callbacks that a media player controller calls on registered listeners.
MediaPlayerControllerFactory - Class in com.apple.android.music.playback.controller
A factory for creating a media player controller.
MediaPlayerControllerFactory() - Constructor for class com.apple.android.music.playback.controller.MediaPlayerControllerFactory
A constructor that defines a media player controller factory.
MediaPlayerException - Exception in com.apple.android.music.playback.model
The base exception for errors that occur during playback.
MediaPlayerException() - Constructor for exception com.apple.android.music.playback.model.MediaPlayerException
A constructor that defines a media player exception.
MediaPlayerException(int, Throwable) - Constructor for exception com.apple.android.music.playback.model.MediaPlayerException
A constructor that defines a media player exception by type.
MOVE_AFTER_TARGET - Static variable in annotation type com.apple.android.music.playback.model.PlaybackQueueMoveTargetType
 
MOVE_BEFORE_TARGET - Static variable in annotation type com.apple.android.music.playback.model.PlaybackQueueMoveTargetType
 
moveQueueItemWithId(long, long, int) - Method in interface com.apple.android.music.playback.controller.MediaPlayerController
Moves the item with the specified playback queue ID to a position in the playback queue, either before or after the item with the specified target ID.
MOVIE - Static variable in annotation type com.apple.android.music.playback.model.MediaItemType
 
MUSIC_VIDEO - Static variable in annotation type com.apple.android.music.playback.model.MediaItemType
 

N

NONE - Static variable in annotation type com.apple.android.music.playback.model.MediaContainerType
 

O

onAvailableTracksChanged(MediaPlayerController, Set<MediaPlayerTrackInfo>) - Method in interface com.apple.android.music.playback.controller.MediaPlayerController.Listener
Callback indicating that the available tracks for the currently playing item has changed.
onBufferingStateChanged(MediaPlayerController, boolean) - Method in interface com.apple.android.music.playback.controller.MediaPlayerController.Listener
The buffering state changed for the specified media player controller.
onCurrentItemChanged(MediaPlayerController, PlayerQueueItem, PlayerQueueItem) - Method in interface com.apple.android.music.playback.controller.MediaPlayerController.Listener
The current item changed for the specified media player controller because of a new loaded queue, a user skip, or the end of the previous item.
onItemEnded(MediaPlayerController, PlayerQueueItem, long) - Method in interface com.apple.android.music.playback.controller.MediaPlayerController.Listener
Playback ended for the specified item because the media ended or because of a skip or stop action.
onMetadataUpdated(MediaPlayerController, PlayerQueueItem) - Method in interface com.apple.android.music.playback.controller.MediaPlayerController.Listener
An updated state for the currently playing item’s metadata, usually during a live stream.
onPlaybackError(MediaPlayerController, MediaPlayerException) - Method in interface com.apple.android.music.playback.controller.MediaPlayerController.Listener
An error occurred during playback.
onPlaybackQueueChanged(MediaPlayerController, List<PlayerQueueItem>) - Method in interface com.apple.android.music.playback.controller.MediaPlayerController.Listener
A user changed the items in the current playback queue.
onPlaybackQueueItemsAdded(MediaPlayerController, int, int, int) - Method in interface com.apple.android.music.playback.controller.MediaPlayerController.Listener
A user added items to the playback queue.
onPlaybackRepeatModeChanged(MediaPlayerController, int) - Method in interface com.apple.android.music.playback.controller.MediaPlayerController.Listener
A user changed the current repeat mode.
onPlaybackShuffleModeChanged(MediaPlayerController, int) - Method in interface com.apple.android.music.playback.controller.MediaPlayerController.Listener
A user changed the current shuffle mode.
onPlaybackStateChanged(MediaPlayerController, int, int) - Method in interface com.apple.android.music.playback.controller.MediaPlayerController.Listener
The playback state changed for the specified media player controller.
onPlaybackStateUpdated(MediaPlayerController) - Method in interface com.apple.android.music.playback.controller.MediaPlayerController.Listener
An update to the current playback state data occurred.
onPlayerStateRestored(MediaPlayerController) - Method in interface com.apple.android.music.playback.controller.MediaPlayerController.Listener
The specified media player controller finished loading any previously saved state.
onVideoSizeChanged(MediaPlayerController, int, int, float) - Method in interface com.apple.android.music.playback.controller.MediaPlayerController.Listener
Callback indicating that the size of the currently playing video (if applicable) has changed.

P

pause() - Method in interface com.apple.android.music.playback.controller.MediaPlayerController
Pauses playback.
PAUSED - Static variable in annotation type com.apple.android.music.playback.model.PlaybackState
 
play() - Method in interface com.apple.android.music.playback.controller.MediaPlayerController
Starts or resumes playback.
PlaybackQueueInsertionType - Annotation Type in com.apple.android.music.playback.queue
Enumeration of the possible playback queue insertion types.
PlaybackQueueMoveTargetType - Annotation Type in com.apple.android.music.playback.model
Enumeration of the possible playback queue move target types.
PlaybackRepeatMode - Annotation Type in com.apple.android.music.playback.model
Enumeration for the possible playback repeat modes.
PlaybackShuffleMode - Annotation Type in com.apple.android.music.playback.model
Enumeration of the possible playback shuffle modes.
PlaybackState - Annotation Type in com.apple.android.music.playback.model
Enumeration defining the potential states a player can be in at any given time.
PlayerMediaItem - Interface in com.apple.android.music.playback.model
An interface that defines methods for retrieving metadata related to a specific piece of media.
PlayerQueueItem - Interface in com.apple.android.music.playback.model
An interface that defines methods for retrieving data about an item currently in the player's playback queue.
PLAYING - Static variable in annotation type com.apple.android.music.playback.model.PlaybackState
 
PLAYLIST - Static variable in annotation type com.apple.android.music.playback.model.MediaContainerType
 
populatePlayActivityEventForIndex(PlayActivityEventBuilder, int) - Method in class com.apple.android.music.playback.queue.CatalogPlaybackQueueItemProvider
 
POSITION_UNKNOWN - Static variable in interface com.apple.android.music.playback.controller.MediaPlayerController
The position of the current media item in the queue is unknown.
prepare(PlaybackQueueItemProvider) - Method in interface com.apple.android.music.playback.controller.MediaPlayerController
Stops playback, and prepares the queue to add items.
prepare(PlaybackQueueItemProvider, boolean) - Method in interface com.apple.android.music.playback.controller.MediaPlayerController
Stops playback, and prepares the queue to add items and starts playing if specified.
prepare(PlaybackQueueItemProvider, int, boolean) - Method in interface com.apple.android.music.playback.controller.MediaPlayerController
Stops playback, and prepares the queue to add items with the given insertion type and starts playing if specified.

R

RADIO_STATION - Static variable in annotation type com.apple.android.music.playback.model.MediaContainerType
 
readExternal(ObjectInput) - Method in exception com.apple.android.music.playback.model.MediaPlayerException
Write external data to the media player exception.
readExternal(ObjectInput) - Method in class com.apple.android.music.playback.queue.CatalogPlaybackQueueItemProvider
 
release() - Method in interface com.apple.android.music.playback.controller.MediaPlayerController
Releases this media player controller when it's no longer needed.
release(boolean) - Method in class com.apple.android.music.playback.queue.CatalogPlaybackQueueItemProvider
 
removeListener(MediaPlayerController.Listener) - Method in interface com.apple.android.music.playback.controller.MediaPlayerController
Unregisters the specified listener from receiving events.
removeQueueItemWithId(long) - Method in interface com.apple.android.music.playback.controller.MediaPlayerController
Removes the item with the specified playback queue ID from the playback queue, if present.
REPEAT_MODE_ALL - Static variable in annotation type com.apple.android.music.playback.model.PlaybackRepeatMode
 
REPEAT_MODE_OFF - Static variable in annotation type com.apple.android.music.playback.model.PlaybackRepeatMode
 
REPEAT_MODE_ONE - Static variable in annotation type com.apple.android.music.playback.model.PlaybackRepeatMode
 
restoreState(boolean) - Method in interface com.apple.android.music.playback.controller.MediaPlayerController
Restores any previously saved player state.

S

seekToPosition(long) - Method in interface com.apple.android.music.playback.controller.MediaPlayerController
Seeks to the specified position, in milliseconds.
setContextId(String) - Method in class com.apple.android.sdk.authentication.AuthIntentBuilder
Set the id of an album/playlist/song to give more context to the upsell that will display after deeplinking to Apple Music.
setCustomParams(HashMap<String, String>) - Method in class com.apple.android.sdk.authentication.AuthIntentBuilder
Set dictionary with affiliate/campaign parameters if any to be passed to Apple Music.
setHideStartScreen(boolean) - Method in class com.apple.android.sdk.authentication.AuthIntentBuilder
Set hideStartScreen to true to hide the authentication-flow-starting-activity and deeplink directly to Apple Music.
setItemPositionProvider(PlayerMediaItemPositionProvider) - Method in interface com.apple.android.music.playback.controller.MediaPlayerController
Sets the item position provider, which allows for overriding of the default start position of each media item in the playback queue.
setParams(String, String) - Method in exception com.apple.android.music.playback.model.MediaPlayerException
 
setRadioLikeState(int) - Method in interface com.apple.android.music.playback.controller.MediaPlayerController
Sets the radio like state for the currently playing item, if that operation is currently supported.
setRepeatMode(int) - Method in interface com.apple.android.music.playback.controller.MediaPlayerController
Sets the current repeat mode.
setShuffleMode(int) - Method in interface com.apple.android.music.playback.controller.MediaPlayerController
Sets the current shuffle mode.
setStartScreenMessage(String) - Method in class com.apple.android.sdk.authentication.AuthIntentBuilder
Sets the message to display in authentication-flow-starting-activity.
setTimedTextOutputHandler(TimedTextOutput, Handler) - Method in interface com.apple.android.music.playback.controller.MediaPlayerController
Sets an output handler for timed text data (subtitles and closed captions).
setTimedTextTrackSelection(MediaPlayerTrackInfo) - Method in interface com.apple.android.music.playback.controller.MediaPlayerController
Sets the track selection for timed text output.
setVideoOutputSurface(Surface) - Method in interface com.apple.android.music.playback.controller.MediaPlayerController
Sets the surface to which video output should be rendered to.
shouldBookmarkPlayPosition() - Method in interface com.apple.android.music.playback.model.PlayerMediaItem
Gets whether this item should bookmark its play position.
SHUFFLE_MODE_INVALID - Static variable in annotation type com.apple.android.music.playback.model.PlaybackShuffleMode
 
SHUFFLE_MODE_OFF - Static variable in annotation type com.apple.android.music.playback.model.PlaybackShuffleMode
 
SHUFFLE_MODE_SONGS - Static variable in annotation type com.apple.android.music.playback.model.PlaybackShuffleMode
 
shuffleMode(int) - Method in class com.apple.android.music.playback.queue.CatalogPlaybackQueueItemProvider.Builder
Sets the desired playback shuffle mode for the playback queue.
skipToNextItem() - Method in interface com.apple.android.music.playback.controller.MediaPlayerController
Skips to the next item in the playback queue if valid.
skipToPreviousItem() - Method in interface com.apple.android.music.playback.controller.MediaPlayerController
Skips to the previous item in the playback queue if valid.
skipToQueueItemWithId(long) - Method in interface com.apple.android.music.playback.controller.MediaPlayerController
Skips to the item specified by the given playback queue ID if valid.
SONG - Static variable in annotation type com.apple.android.music.playback.model.MediaItemType
 
startItemIndex(int) - Method in class com.apple.android.music.playback.queue.CatalogPlaybackQueueItemProvider.Builder
Starts playback from the specified index, rather than from the start of the playback queue.
stop() - Method in interface com.apple.android.music.playback.controller.MediaPlayerController
Stops playback.
STOPPED - Static variable in annotation type com.apple.android.music.playback.model.PlaybackState
 

T

TokenError - Enum in com.apple.android.sdk.authentication
Enum indicating the possible authentication error values.
TokenProvider - Interface in com.apple.android.sdk.authentication
Interface to be implemented to encapsulate developer token and music user token.
TokenResult - Class in com.apple.android.sdk.authentication
Encapsulates the result of an attempt to fetch the music user token.
TokenResult(String) - Constructor for class com.apple.android.sdk.authentication.TokenResult
 
TokenResult(TokenError) - Constructor for class com.apple.android.sdk.authentication.TokenResult
 
TRAILER - Static variable in annotation type com.apple.android.music.playback.model.MediaItemType
 
TV_EPISODE - Static variable in annotation type com.apple.android.music.playback.model.MediaItemType
 
TYPE_DRM - Static variable in exception com.apple.android.music.playback.model.MediaPlayerException
 
TYPE_IO - Static variable in exception com.apple.android.music.playback.model.MediaPlayerException
 
TYPE_PLAYBACK_LEASE - Static variable in exception com.apple.android.music.playback.model.MediaPlayerException
 
TYPE_PLAYBACK_QUEUE - Static variable in exception com.apple.android.music.playback.model.MediaPlayerException
 
TYPE_UNKNOWN - Static variable in exception com.apple.android.music.playback.model.MediaPlayerException
 

U

UNKNOWN - Static variable in annotation type com.apple.android.music.playback.model.MediaItemType
 
UPLOADED_AUDIO - Static variable in annotation type com.apple.android.music.playback.model.MediaItemType
 
UPLOADED_VIDEO - Static variable in annotation type com.apple.android.music.playback.model.MediaItemType
 

V

valueOf(String) - Static method in enum com.apple.android.sdk.authentication.TokenError
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.apple.android.sdk.authentication.TokenError
Returns an array containing the constants of this enum type, in the order they are declared.

W

writeExternal(ObjectOutput) - Method in exception com.apple.android.music.playback.model.MediaPlayerException
Read external data from the media player exception.
writeExternal(ObjectOutput) - Method in class com.apple.android.music.playback.queue.CatalogPlaybackQueueItemProvider
 
writeToParcel(Parcel, int) - Method in class com.apple.android.music.playback.queue.CatalogPlaybackQueueItemProvider
 
A B C D G H I M N O P R S T U V W 
Skip navigation links