TelepathyGLib.CallContent¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
class |
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/co |
The channel of this content |
||
r/w/co |
The connection of this content |
||
r |
The disposition of this content |
||
r |
The media type of this content |
||
r |
The name of this content, if any |
||
r |
The streams of this content |
Signals¶
- Inherited:
Name |
Short Description |
---|---|
The |
|
The |
|
The |
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class TelepathyGLib.CallContent(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Data structure representing a
TelepathyGLib.CallContent
.New in version 0.17.5.
- classmethod init_known_interfaces()¶
Ensure that the known interfaces for
TelepathyGLib.CallContent
have been set up. This is done automatically when necessary, but for correct overriding of library interfaces by local extensions, you should call this function before calling tp_proxy_or_subclass_hook_on_interface_add() with first argument %TP_TYPE_CALL_CONTENT.New in version 0.17.5.
- get_disposition()¶
- Returns:
the value of
TelepathyGLib.CallContent
:disposition
- Return type:
New in version 0.17.5.
- get_media_type()¶
- Returns:
the value of
TelepathyGLib.CallContent
:name
- Return type:
New in version 0.17.5.
- get_name()¶
- Returns:
the value of
TelepathyGLib.CallContent
:name
- Return type:
New in version 0.17.5.
- get_streams()¶
- Returns:
the value of
TelepathyGLib.CallContent
:streams
- Return type:
New in version 0.17.5.
- remove_async(callback, *user_data)¶
- Parameters:
callback (
Gio.AsyncReadyCallback
orNone
) – a callback to call when the operation finishes
Remove the content from the call. This will cause
TelepathyGLib.CallContent
::removed
to be emitted.New in version 0.17.5.
- remove_finish(result)¶
- Parameters:
result (
Gio.AsyncResult
) – aGio.AsyncResult
- Raises:
- Return type:
Finishes
TelepathyGLib.CallContent.remove_async
().New in version 0.17.5.
- send_tones_async(tones, cancellable, callback, *user_data)¶
- Parameters:
tones (
str
) – a string representation of one or more DTMF events.cancellable (
Gio.Cancellable
orNone
) – optionalGio.Cancellable
object,None
to ignorecallback (
Gio.AsyncReadyCallback
orNone
) – a callback to call when the operation finishes
Send tones DTMF code on self content. self must have the
TelepathyGLib.IFACE_CALL_CONTENT_INTERFACE_DTMF
interface.If DTMF tones are already being played, this request is queued.
New in version 0.17.5.
- send_tones_finish(result)¶
- Parameters:
result (
Gio.AsyncResult
) – aGio.AsyncResult
- Raises:
- Returns:
- Return type:
Finishes
TelepathyGLib.CallContent.send_tones_async
().New in version 0.17.5.
Signal Details¶
- TelepathyGLib.CallContent.signals.removed(call_content)¶
- Signal Name:
removed
- Flags:
- Parameters:
call_content (
TelepathyGLib.CallContent
) – The object which received the signal
The
::removed
signal is emitted when self is removed from aTelepathyGLib.CallChannel
.New in version 0.17.5.
- TelepathyGLib.CallContent.signals.streams_added(call_content, streams)¶
- Signal Name:
streams-added
- Flags:
- Parameters:
call_content (
TelepathyGLib.CallContent
) – The object which received the signalstreams ([
TelepathyGLib.CallStream
]) – aGLib.PtrArray
of newly addedTelepathyGLib.CallStream
The
::streams-added
signal is emitted wheneverTelepathyGLib.CallStream
are added to self.It is NOT guaranteed that %TP_CALL_STREAM_FEATURE_CORE is prepared on stream objects.
New in version 0.17.5.
- TelepathyGLib.CallContent.signals.streams_removed(call_content, streams, reason)¶
- Signal Name:
streams-removed
- Flags:
- Parameters:
call_content (
TelepathyGLib.CallContent
) – The object which received the signalstreams ([
TelepathyGLib.CallStream
]) – aGLib.PtrArray
of newly removedTelepathyGLib.CallStream
reason (
TelepathyGLib.CallStateReason
) – aTelepathyGLib.CallStateReason
The
::streams-removed
signal is emitted wheneverTelepathyGLib.CallStreams
are removed from self.It is NOT guaranteed that %TP_CALL_STREAM_FEATURE_CORE is prepared on stream objects.
New in version 0.17.5.
Property Details¶
- TelepathyGLib.CallContent.props.channel¶
- Name:
channel
- Type:
- Default Value:
- Flags:
The parent
TelepathyGLib.CallChannel
of the content.New in version 0.17.6.
- TelepathyGLib.CallContent.props.connection¶
- Name:
connection
- Type:
- Default Value:
- Flags:
The
TelepathyGLib.Connection
of the call.New in version 0.17.5.
- TelepathyGLib.CallContent.props.disposition¶
-
The disposition of this content, from
TelepathyGLib.CallContentDisposition
.New in version 0.17.5.
- TelepathyGLib.CallContent.props.media_type¶
-
The media type of this content, from
TelepathyGLib.MediaStreamType
.New in version 0.17.5.
- TelepathyGLib.CallContent.props.name¶
-
The name of this content.
New in version 0.17.5.
- TelepathyGLib.CallContent.props.streams¶
- Name:
streams
- Type:
- Default Value:
- Flags:
GLib.PtrArray
ofTelepathyGLib.CallStream
objects. The list of stream objects that are part of this content.It is NOT guaranteed that %TP_CALL_STREAM_FEATURE_CORE is prepared on those objects.
New in version 0.17.5.