UNPKG

sinch-rtc

Version:

RTC JavaScript/Web SDK

41 lines (40 loc) 1.17 kB
import { Domain } from "./Domain"; /** * The CallNotificationResult is used to indicate the result of a relayed push notification {@link SinchClient.relayRemotePushNotification} * The CallNotificationResult includes call related information. */ export interface CallNotificationResult { /** * Returns the call identifier. * * @returns the call identifier. */ callId: string; /** * Returns the remote user identifier. * * @returns the remote user identifier. */ remoteUserId: string; /** * Returns whether the caller offered video. * @returns true if the caller offered video, false otherwise. */ isVideoOffered(): boolean; /** * Returns headers associated with the call. * @returns empty string if no headers were set by the call initiator. */ headers: Record<string, string> | undefined; /** * Indicates whether the call has timed out. * * @returns true if the call has timed out, otherwise false. */ hasTimedOut(): boolean; /** * Returns the remote domain. * @returns the remote domain. */ domain: Domain; }