@Immutable public class ExtendedMediaStatus extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ExtendedMediaStatus.ExtendedPlayerState
Extended player state information.
|
| Modifier and Type | Field and Description |
|---|---|
protected Media |
media
The
Media instance |
protected Integer |
mediaSessionId
The media session ID
|
protected ExtendedMediaStatus.ExtendedPlayerState |
playerState
The extended player state
|
| Constructor and Description |
|---|
ExtendedMediaStatus(ExtendedMediaStatus.ExtendedPlayerState playerState,
Media media,
Integer mediaSessionId)
Creates a new instance using the specified parameters.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Media |
getMedia() |
Integer |
getMediaSessionId() |
ExtendedMediaStatus.ExtendedPlayerState |
getPlayerState() |
int |
hashCode() |
String |
toString() |
@Nonnull protected final ExtendedMediaStatus.ExtendedPlayerState playerState
public ExtendedMediaStatus(@Nonnull ExtendedMediaStatus.ExtendedPlayerState playerState, @Nullable Media media, @Nullable Integer mediaSessionId)
playerState - the extended player state.media - the Media instance.mediaSessionId - the media session ID.@Nonnull public ExtendedMediaStatus.ExtendedPlayerState getPlayerState()
Copyright © 2022. All rights reserved.