Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RTCDataChannel

Hierarchy

Index

Properties

EventTarget

EventTarget: { constructor: any; prototype: EventTarget }

Type declaration

binaryType

binaryType: string

Readonly bufferedAmount

bufferedAmount: number

bufferedAmountLowThreshold

bufferedAmountLowThreshold: number

Readonly id

id: number | null

Readonly label

label: string

Readonly maxPacketLifeTime

maxPacketLifeTime: number | null

Readonly maxRetransmits

maxRetransmits: number | null

Readonly negotiated

negotiated: boolean

onbufferedamountlow

onbufferedamountlow: ((this: RTCDataChannel, ev: Event) => any) | null

onclose

onclose: ((this: RTCDataChannel, ev: Event) => any) | null

onerror

onerror: ((this: RTCDataChannel, ev: RTCErrorEvent) => any) | null

onmessage

onmessage: ((this: RTCDataChannel, ev: MessageEvent) => any) | null

onopen

onopen: ((this: RTCDataChannel, ev: Event) => any) | null

Readonly ordered

ordered: boolean

Readonly priority

priority: RTCPriorityType

Readonly protocol

protocol: string

Readonly readyState

Methods

addEventListener

close

  • close(): void
  • Returns void

dispatchEvent

  • dispatchEvent(event: Event): boolean
  • 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.

    Parameters

    Returns boolean

removeEventListener

send

  • Parameters

    • data: string

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

Generated using TypeDoc