OptiView Ads SDK for React Native
    Preparing search index...

    Interface UseReactVideoHandleResult

    interface UseReactVideoHandleResult {
        onVideoEvent: (event: ReactVideoTargetEvent | null | undefined) => void;
        player: NativePlayerHandleOwner | undefined;
    }
    Index
    onVideoEvent: (event: ReactVideoTargetEvent | null | undefined) => void

    Event callback to attach to the <Video> component (typically onLoad). Accepts any rnv event payload; events without a usable target are ignored. Referentially stable across renders.

    player: NativePlayerHandleOwner | undefined

    The player handle for createOptiViewAds, or undefined until the first event carrying a view tag arrives. Referentially stable while the tag is unchanged, so it is safe to use in effect dependency lists.