Package com.naver.ads.video.player
Enum PlaybackState
-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum PlaybackState extends Enum<PlaybackState>
The state of playback.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classPlaybackState.Companion
-
Field Summary
Fields Modifier and Type Field Description private final EnumEntries<PlaybackState>entries
-
Enum Constant Summary
Enum Constants Enum Constant Description IDLEThe playback state when the player's playback is idle.
PREPARINGThe playback state when the player's playback is preparing.
PREPAREDThe playback state when the player's playback is prepared.
PLAYINGThe playback state when the player's playback is ongoing.
PAUSEDThe playback state when the player's playback is paused.
ENDEDThe playback state when the player's playback is ended.
-
Method Summary
Modifier and Type Method Description final PlaybackStatevalueOf(String value)Returns the enum constant of this type with the specified name. final Array<PlaybackState>values()Returns an array containing the constants of this enum type, in the order they're declared. final EnumEntries<PlaybackState>getEntries()The state of playback. -
-
Method Detail
-
valueOf
final PlaybackState valueOf(String value)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
-
values
final Array<PlaybackState> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
getEntries
final EnumEntries<PlaybackState> getEntries()
The state of playback.
-
-
-
-