UNPKG

react-native-capture

Version:
46 lines 1.71 kB
import React from 'react'; import { type StyleProp, type ViewStyle } from 'react-native'; import { CaptureRn, type CaptureDeviceInfo, type SocketLogger } from 'react-native-capture'; interface SocketCamModalStyleProps { presentationStyle?: 'fullScreen' | 'pageSheet' | 'formSheet' | 'overFullScreen'; animationType?: 'slide' | 'fade' | 'none'; transparent?: boolean; } interface SocketCamViewContainerProps { clientOrDeviceHandle: number; triggerType: number; openSocketCamView: boolean; socketCamCapture: CaptureRn; socketCamDevice: CaptureDeviceInfo | null | undefined; handleSetSocketCamEnabled: Function; myLogger?: SocketLogger; handleSetStatus?: Function; handleSetSocketCamExtensionStatus?: Function; socketCamCustomModalStyle?: SocketCamModalStyleProps; socketCamCustomStyle?: StyleProp<ViewStyle>; androidSocketCamCustomView?: React.ReactElement; } interface SocketCamTriggerButtonData { label: string; value: string; } interface SocketCamStatusSubOption { message: string; buttonText: string; value: any; } interface SocketCamStatusOption { 0?: SocketCamStatusSubOption; 1?: SocketCamStatusSubOption; } interface GetSocketCamEnabledArguments { socketCamCapture: CaptureRn; handleSetSocketCamEnabled: Function; usingAndroidCustomView?: boolean; fromCallback?: boolean; } interface SetSocketCamEnabledArguments extends GetSocketCamEnabledArguments { enabled: number; } export type { SocketCamViewContainerProps, SocketCamStatusOption, SocketCamStatusSubOption, SetSocketCamEnabledArguments, GetSocketCamEnabledArguments, SocketCamTriggerButtonData, }; //# sourceMappingURL=interfaces.d.ts.map