import { ZoomVideoSdkVideoStatus } from './ZoomVideoSdkVideoStatus'; import { ZoomVideoSdkAudioStatus } from './ZoomVideoSdkAudioStatus'; import { ZoomVideoSdkVideoStatisticInfo } from './ZoomVideoSdkVideoStatisticInfo'; import { ZoomVideoSdkShareStatisticInfo } from './ZoomVideoSdkShareStatisticInfo'; import { ShareAction, WhiteboardStatus } from './ZoomVideoSdk'; /** * Zoom Video SDK user information. */ export declare type ZoomVideoSdkUserType = { /** * The userId of the user object. */ userId: string; /** * User's custom identity that is passed in the JWT or in SDKSessionContext.customUserId */ customUserId: string; /** * User name. */ userName: string; /** * Determine whether the user is the host. */ isHost: boolean; /** * Determine whether the user is the manager. */ isManager: boolean; /** * Determine whether the user has multiple cameras. */ hasMultiCamera: boolean; /** * The index of the user's multi-camera stream. */ multiCameraIndex: string; /** * Determine whether the user is the host. */ getIsHost: () => Promise; /** * Determine whether the user is the manager. */ getIsManager: () => Promise; /** * Get the name of the user in the session. */ getUserName: () => Promise; /** * Get the user's share action information. */ getShareActionList: () => Promise; /** * The user video status. */ videoStatus: ZoomVideoSdkVideoStatus; /** * The user's audio status. */ audioStatus: ZoomVideoSdkAudioStatus; /** * The user's video statistic information. */ videoStatisticInfo: ZoomVideoSdkVideoStatisticInfo; /** * The user's screen share statistic information. */ shareStatisticInfo: ZoomVideoSdkShareStatisticInfo; /** * Get user volume. */ getUserVolume: (userId: string, isSharing: boolean) => Promise; /** * Set the user's local volume. This does not affect how other participants hear the user. */ setUserVolume: (userId: string, isSharing: boolean, volume: number) => Promise; /** * Determine which audio you can set, shared audio or microphone. */ canSetUserVolume: (userId: string, isSharing: boolean) => Promise; /** * Determine whether the user has individual recording consent. */ hasIndividualRecordingConsent: (userId: string) => Promise; /** * Get the user's reference. */ getUserReference: () => Promise; /** * Get the user's whiteboard status. */ getWhiteboardStatus: () => Promise; }; export declare class ZoomVideoSdkUser implements ZoomVideoSdkUserType { userId: string; customUserId: string; userName: string; isHost: boolean; isManager: boolean; hasMultiCamera: boolean; multiCameraIndex: string; videoStatus: ZoomVideoSdkVideoStatus; audioStatus: ZoomVideoSdkAudioStatus; videoStatisticInfo: ZoomVideoSdkVideoStatisticInfo; shareStatisticInfo: ZoomVideoSdkShareStatisticInfo; constructor(user: ZoomVideoSdkUserType); getUserName(): Promise; getShareActionList(): Promise; getIsHost(): Promise; getIsManager(): Promise; getUserVolume(userId: string, isSharing: boolean): Promise; setUserVolume(userId: string, isSharing: boolean, volume: number): Promise; canSetUserVolume(userId: string, isSharing: boolean): Promise; hasIndividualRecordingConsent(userId: string): Promise; getUserReference(): Promise; getWhiteboardStatus(): Promise; }