Interface DelegateObject

Hierarchy

  • DelegateObject

Properties

onConnect: ((callback: (() => void)) => void)

Type declaration

    • (callback: (() => void)): void
    • Called when the SIP stack has successfully connected to the SIP proxy

      Parameters

      • callback: (() => void)
          • (): void
          • Returns void

      Returns void

onConnecting: ((callback: (() => void)) => void)

Type declaration

    • (callback: (() => void)): void
    • Called when the SIP stack is starting to connect to the SIP proxy

      Parameters

      • callback: (() => void)
          • (): void
          • Returns void

      Returns void

onDisconnect: ((callback: (() => void)) => void)

Type declaration

    • (callback: (() => void)): void
    • Called when the SIP stack is disconnected from the SIP proxy

      Parameters

      • callback: (() => void)
          • (): void
          • Returns void

      Returns void

onNewMessage: ((callback: ((evt: NewMessageEvent) => void)) => void)

Type declaration

onRegister: ((callback: (() => void)) => void)

Type declaration

    • (callback: (() => void)): void
    • Called after SIP Register was successfully executed

      Parameters

      • callback: (() => void)
          • (): void
          • Returns void

      Returns void

onRegistrationFail: ((callback: (() => void)) => void)

Type declaration

    • (callback: (() => void)): void
    • Called if SIP Register failed

      Parameters

      • callback: (() => void)
          • (): void
          • Returns void

      Returns void

onSubscribe?: ((callback: ((from: string, event: string) => void)) => void)

Type declaration

    • (callback: ((from: string, event: string) => void)): void
    • Experimental

      Please be aware this interface is experimental and might change even within a major version! Therefore it's not mandatory to implement this interface.

      Called for every incoming subscription

      Parameters

      • callback: ((from: string, event: string) => void)
          • (from: string, event: string): void
          • Parameters

            • from: string
            • event: string

            Returns void

      Returns void

onUnregister: ((callback: (() => void)) => void)

Type declaration

    • (callback: (() => void)): void
    • Called after SIP Register was successfully executed for unregistering the SIP stack

      Parameters

      • callback: (() => void)
          • (): void
          • Returns void

      Returns void

Generated using TypeDoc