@videosdk.live/react-native-sdk
Version:
<h1 align="center"> <img src="https://static.videosdk.live/videosdk_logo_website_black.png"/><br/> <p align="center"> Video SDK React Native App <br/> <a href="https://videosdk.live/">videosdk.live</a> </p> </h1>
41 lines (40 loc) • 967 B
TypeScript
export class ReactNativeForegroundService {
static register: () => void;
static start: ({
id,
title,
message,
vibration,
visibility,
icon,
largeIcon,
importance,
number,
button,
buttonText,
buttonOnPress,
button2,
button2Text,
button2OnPress,
mainOnPress,
}: {
id: any;
title?: any;
message?: string | undefined;
vibration?: boolean | undefined;
visibility?: string | undefined;
icon?: string | undefined;
largeIcon?: string | undefined;
importance?: string | undefined;
number?: string | undefined;
button?: boolean | undefined;
buttonText?: string | undefined;
buttonOnPress?: string | undefined;
button2?: boolean | undefined;
button2Text?: string | undefined;
button2OnPress?: string | undefined;
mainOnPress?: string | undefined;
}) => Promise<void>;
static stop: () => Promise<any>;
static stopAll: () => Promise<any>;
}