WakeLockPolicy
What the media notification keeps awake while the player plays or buffers.
Once the screen is off, Android may put the processor to sleep and Wi-Fi into power saving. Sound that is already playing keeps the processor awake, but a stream that is waiting for data does not, and after BufferPolicy.stallTimeout without data the session ends. The locks are held only while the player plays or buffers, never while it is paused.
Entries
Properties
Functions
Link copied to clipboard
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.)
Link copied to clipboard
Returns an array containing the constants of this enum type, in the order they're declared.