@b8safe/react-native-safe
Version:
Package for native integration of B8Safe SDK
21 lines (18 loc) • 421 B
TypeScript
type SocketData = {
function: string;
[key: string]: unknown;
};
interface RTCConnectionInterfaceOptions {
hashChecker: string;
onConnected?: () => void;
onDisconnected?: () => void;
onConnectionStart?: (stream: MediaStream) => void;
onConnectionStop?: () => void;
}
type DeviceList = {
deviceId: string;
facing: 'environment' | 'front';
groupId: string;
kind: 'videoinput';
label: string;
}[];