@sendbird/calls-react-native
Version:
Sendbird Calls SDK for React Native: Empower React Native apps with seamless audio, video, and group calling. Build interactive communication easily.
22 lines (21 loc) • 859 B
TypeScript
import type { User } from './User';
import type { AsJSInterface, JSMediaDeviceControl } from './index';
export interface ParticipantProperties {
participantId: string;
user: User;
state: ParticipantState;
enteredAt: number;
exitedAt: number;
duration: number;
isAudioEnabled: boolean;
isVideoEnabled: boolean;
updatedAt: number;
}
declare type JSLocalParticipantMediaDeviceControl = Pick<JSMediaDeviceControl, 'muteMicrophone' | 'unmuteMicrophone' | 'switchCamera' | 'startVideo' | 'stopVideo' | 'resumeVideoCapturer' | 'resumeAudioTrack'>;
export declare type LocalParticipantMethods = AsJSInterface<JSLocalParticipantMediaDeviceControl, 'android', 'resumeVideoCapturer' | 'resumeAudioTrack'>;
export declare enum ParticipantState {
ENTERED = "ENTERED",
CONNECTED = "CONNECTED",
EXITED = "EXITED"
}
export {};