QueueItemFailure

What a queue does with an item that cannot be opened. See QueueConfig.onItemFailure.

Entries

Link copied to clipboard

Stay on the item, in PlaybackStatus.Failed with its error, as a single open does.

Link copied to clipboard

Move on in the direction the queue was going: forward at the end of an item and on next, back on previous. Each item passed over is reported as PlaybackWarning.QueueItemSkipped and listed in PlayerSnapshot.failedQueueItems until it opens, and a queue that was playing keeps playing. Every item is tried again each time the queue reaches it, so with LoopMode.All a file that comes back plays on the next lap. The player stops in PlaybackStatus.Failed, with the last error, when the queue has nowhere left to go, or when every item in it has failed in a row, so a queue of broken items does not go round for ever.

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.