Methods
SetSending | (b: Send) | → | nothing | |
RequestReceiving | (u: Contact, b: Receive) | → | nothing |
Signals
MembersChanged | (a{uu}: Updates, au: Removed) |
Properties
Interfaces | as (DBus_Interface_List) | Read only | ||
Members | a{uu} (Contact_Sending_State_Map) | Read only | ||
CanRequestReceiving | b | Read only |
Types
Sending_State | Enum | u | |
Contact_Sending_State_Map | Mapping | a{uu} |
Description
Methods
SetSending (b: Send) → nothing
Parameters
- Send — b
If true, the local user's sending state should change to Sending, if it isn't already.
If false, the local user's sending state should change to None, if it isn't already.
Possible Errors
- Not Implemented
RequestReceiving (u: Contact, b: Receive) → nothing
Parameters
- Contact — u (Contact_Handle)
- Receive — b
Contact from which sending is requested
If true, request that the given contact starts to send media. If false, request that the given contact stops sending media.
Request that a remote contact stops or starts sending on this stream.
The CanRequestReceiving property defines whether the protocol allows the local user to request the other side start sending on this stream.
Possible Errors
- Invalid Handle
- Invalid Argument
- Not Implemented
Signals
MembersChanged (a{uu}: Updates, au: Removed)
Parameters
- Updates — a{uu} (Contact_Sending_State_Map)
- Removed — au (Contact_Handle_List)
Properties
Interfaces — as (DBus_Interface_List)
Extra interfaces provided by this stream, such as Stream.Interface.Media.DRAFT. This SHOULD NOT include the Stream interface itself, and cannot change once the stream has been created.
Members — a{uu} (Contact_Sending_State_Map)
A map from contacts to their sending state.
The local user's handle in this map (the Group.SelfHandle if the channel implements Group, or the Connection.SelfHandle otherwise) indicates whether the local user is sending media. Media sent on this stream should be assumed to be received, directly or indirectly, by every other contact in the Members mapping. Sending_State_Pending_Send indicates that another contact has asked the local user to send media.
Other contacts' handles in this map indicate whether they are sending media to the contacts in this stream. Sending_State_Pending_Send indicates contacts who are not sending but have been asked to do so.
CanRequestReceiving — b
If true, the user can request that a remote contact starts sending on this stream.
Rationale:
Types
Sending_State — u
- None (0)
- Pending_Send (1)
- Sending (2)
- Pending_Stop_Sending (3)
Contact_Sending_State_Map — a{uu}
- Contact — u (Contact_Handle)
- Sending — u (Sending_State)