| Modifier and Type | Field and Description |
|---|---|
protected MediaStatus.IdleReason |
MediaStatus.idleReason
If the state is
MediaStatus.PlayerState.IDLE, the reason the player went to
IDLE state. |
| Modifier and Type | Method and Description |
|---|---|
MediaStatus.IdleReason |
MediaStatus.getIdleReason() |
static MediaStatus.IdleReason |
MediaStatus.IdleReason.typeOf(String idleReason)
Parses the specified string and returns the corresponding
MediaStatus.IdleReason, or null if no match could be found. |
static MediaStatus.IdleReason |
MediaStatus.IdleReason.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MediaStatus.IdleReason[] |
MediaStatus.IdleReason.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor and Description |
|---|
MediaStatus(List<Integer> activeTrackIds,
Integer currentItemId,
double currentTime,
Map<String,Object> customData,
ExtendedMediaStatus extendedStatus,
MediaStatus.IdleReason idleReason,
List<QueueItem> items,
LiveSeekableRange liveSeekableRange,
Integer loadingItemId,
Media media,
int mediaSessionId,
float playbackRate,
MediaStatus.PlayerState playerState,
Integer preloadedItemId,
QueueData queueData,
MediaStatus.RepeatMode repeatMode,
int supportedMediaCommands,
VideoInformation videoInfo,
MediaVolume volume)
Creates a new instance using the specified parameters.
|
Copyright © 2022. All rights reserved.