UNPKG

@amityco/ts-sdk-react-native

Version:

Amity Social Cloud Typescript SDK

17 lines 561 B
/** * ```js * import { onStreamRecorded } from '@amityco/ts-sdk-react-native' * const dispose = onStreamRecorded(stream => { * // ... * }) * ``` * * Fired when the recordings of a {@link Amity.InternalStream} are available * * @param callback The function to call when the event was fired * @returns an {@link Amity.Unsubscriber} function to stop listening * * @category Stream Events */ export declare const onStreamRecorded: (callback: Amity.Listener<Amity.InternalStream>) => Amity.Unsubscriber; //# sourceMappingURL=onStreamRecorded.d.ts.map