The API provided to all UI components in react-native-theoplayer so they can communicate with the UI.

interface UiControls {
    buttonsEnabled_: boolean;
    closeCurrentMenu_: (() => void);
    enterPip_: (() => void);
    onUserAction_: (() => void);
    openMenu_: ((menuConstructor) => void);
}

Implemented by

Properties

buttonsEnabled_: boolean
closeCurrentMenu_: (() => void)

Type declaration

    • (): void
    • Returns void

enterPip_: (() => void)

Type declaration

    • (): void
    • Returns void

onUserAction_: (() => void)

Type declaration

    • (): void
    • Returns void

openMenu_: ((menuConstructor) => void)

Type declaration

    • (menuConstructor): void
    • Parameters

      Returns void

Generated using TypeDoc