PlayerFeature

A backend ability that may or may not be present on this device.

Query it through PlayerFeatures.supports rather than assuming a platform floor. A UI that assumes a feature is always there appears frozen where it is missing, instead of degrading.

Entries

Link copied to clipboard

Parameter changes redraw the paused frame at finger speed.

Link copied to clipboard

The preview can display HDR without tone-mapping.

Link copied to clipboard

Stepping by whole frames is supported.

Link copied to clipboard

Playback speed can be changed.

Link copied to clipboard

Rendered preview frames can be read back. See PreviewFrameReadback.

Link copied to clipboard

Monitor volume set through VideoPlayer.setVolume is audible.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int

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.