Interface org.freedesktop.Telepathy.Channel.Interface.DTMF

Interface Index (Compact) | Summary | Description | Methods | Types

Methods

StartTone (u: Stream_ID, y: Event) nothing
StopTone (u: Stream_ID) nothing

Types

DTMF_Event Enum y
Objects implementing this interface must also implement:

Description

An interface that gives a Channel the ability to send DTMF events over audio streams which have been established using the StreamedMedia channel type. The event codes used are in common with those defined in RFC4733, and are listed in the DTMF_Event enumeration.

Methods

(Permalink)

StartTone (u: Stream_ID, y: Event) → nothing

Parameters

  • Stream_ID — u (Stream_ID)
  • A stream ID as defined in the StreamedMedia channel type.
  • Event — y (DTMF_Event)
  • A numeric event code from the DTMF_Event enum.
Start sending a DTMF tone on this stream. Where possible, the tone will continue until StopTone is called. On certain protocols, it may only be possible to send events with a predetermined length. In this case, the implementation may emit a fixed-length tone, and the StopTone method call should return NotAvailable.

Possible Errors

(Permalink)

StopTone (u: Stream_ID) → nothing

Parameters

  • Stream_ID — u (Stream_ID)
  • A stream ID as defined in the StreamedMedia channel type.
Stop sending any DTMF tone which has been started using the StartTone method. If there is no current tone, this method will do nothing.

Possible Errors

Types

Enum (Permalink)

DTMF_Event — y

  • Digit_0 (0)
  • 0
  • Digit_1 (1)
  • 1
  • Digit_2 (2)
  • 2
  • Digit_3 (3)
  • 3
  • Digit_4 (4)
  • 4
  • Digit_5 (5)
  • 5
  • Digit_6 (6)
  • 6
  • Digit_7 (7)
  • 7
  • Digit_8 (8)
  • 8
  • Digit_9 (9)
  • 9
  • Asterisk (10)
  • *
  • Hash (11)
  • #
  • Letter_A (12)
  • A
  • Letter_B (13)
  • B
  • Letter_C (14)
  • C
  • Letter_D (15)
  • D