UNPKG

@amityco/ts-sdk-react-native

Version:

Amity Social Cloud Typescript SDK

17 lines 552 B
/** * ```js * import { onStreamViewerBanned } from '@amityco/ts-sdk' * const dispose = onStreamViewerBanned(stream => { * // ... * }) * ``` * * Fired when a user in channel linked to stream has been banned * * @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 onStreamViewerBanned: (callback: Amity.Listener<Amity.InternalStream>) => Amity.Unsubscriber; //# sourceMappingURL=onStreamViewerBanned.d.ts.map