Interface RTCDataChannel

interface RTCDataChannel {
    $destroyListeners?: any[];
    binaryType: BinaryType;
    bufferedAmount: number;
    bufferedAmountLowThreshold: number;
    id: number;
    label: string;
    maxPacketLifeTime: number;
    maxRetransmits: number;
    negotiated: boolean;
    onbufferedamountlow: Object;
    onclose: Object;
    onclosing: Object;
    onerror: Object;
    onmessage: Object;
    onopen: Object;
    ordered: boolean;
    protocol: string;
    readyState: RTCDataChannelState;
    addEventListener<K>(type, listener, options?): void;
    addEventListener(type, listener, options?): void;
    close(): void;
    dispatchEvent(event): boolean;
    removeEventListener<K>(type, listener, options?): void;
    removeEventListener(type, listener, options?): void;
    send(data): void;
    send(data): void;
    send(data): void;
    send(data): void;
}

Hierarchy

Properties

$destroyListeners?: any[]
binaryType: BinaryType
bufferedAmount: number
bufferedAmountLowThreshold: number
id: number
label: string
maxPacketLifeTime: number
maxRetransmits: number
negotiated: boolean
onbufferedamountlow: Object
onclose: Object
onclosing: Object
onerror: Object
onmessage: Object
onopen: Object
ordered: boolean
protocol: string

Methods

  • Type Parameters

    Parameters

    Returns void

  • Parameters

    Returns void

  • Returns void

  • Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.

    MDN Reference

    Parameters

    Returns boolean

  • Type Parameters

    Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    • data: string

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void