Background Media Policy
How a CefriumView reacts to the host lifecycle for INLINE MEDIA. The default (PAUSE_ON_STOP) is what most apps want: a video/audio inside the page stops when the host is backgrounded (HOME / recents) and resumes on return. Pick another policy -- or pass onHostLifecycle to CefriumView for full control -- if you need different behavior (e.g. a music player that keeps playing).
Entries
Pause media + hide page on ON_STOP (backgrounded); resume on ON_START. Default.
Pause already on ON_PAUSE (partially obscured, e.g. a dialog); resume on ON_RESUME.
Only mute audio on ON_STOP (media keeps decoding/advancing); unmute on ON_START.
Properties
Functions
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.)
Returns an array containing the constants of this enum type, in the order they're declared.