Skip to content

r3f-xr-widgets / PlaybackAction

Type Alias: PlaybackAction

PlaybackAction = object

Defined in: src/hooks/useVideoXRControls.ts:9

Playback action event dispatched by useVideoXRControls

Properties

source

source: "controller"

Defined in: src/hooks/useVideoXRControls.ts:13

Source of the action (always 'controller' for this hook)


type

type: "play" | "pause" | "seek-forward" | "seek-backward" | "toggle-controls"

Defined in: src/hooks/useVideoXRControls.ts:11

Type of playback action that occurred


value?

optional value: number

Defined in: src/hooks/useVideoXRControls.ts:15

Optional numeric value (e.g., seek amount in seconds)

Released under the MIT License.