Home · All Classes · All Namespaces · Modules · Functions · Files |
![]() |
Types generated from the specification representing enumerated types ie. types the values of which are mutually exclusive integral constants.
enum Tp::HandleType |
Enumerated type generated from the specification.
enum Tp::ConnectionStatus |
Enumerated type generated from the specification.
ConnectionStatusConnected |
The connection is fully connected and all methods are available. |
ConnectionStatusConnecting |
Connect has been called but the connection has not yet been established. Some methods may fail until the connection has been established. |
ConnectionStatusDisconnected |
If this is retrieved from GetStatus or Status, it indicates that connection has not yet been attempted. If seen in a StatusChanged signal, it indicates that the connection has failed; the Connection object SHOULD be removed from D-Bus immediately, and all subsequent method calls SHOULD fail. |
_ConnectionStatusPadding |
Enumerated type generated from the specification.
A reason why the status of the connection changed. Apart from Requested, the values of this enumeration only make sense as reasons why the status changed to Disconnected.
enum Tp::ContactListState |
Enumerated type generated from the specification.
The progress made in retrieving the contact list.
Enumerated type generated from the specification.
An enumeration indicating whether presence subscription is denied, denied but pending permission, or allowed. The exact semantics vary according to where this type is used: see the <tp:token-ref>subscribe</tp:token-ref> and <tp:token-ref>publish</tp:token-ref> contact attributes for details.
SubscriptionStateUnknown |
The presence subscription state is unknown. |
SubscriptionStateNo |
Presence information cannot be seen, and either the subscription state Removed_Remotely does not apply, or it is not known whether that state applies. |
SubscriptionStateRemovedRemotely |
Presence information cannot be seen because the remote contact took action: either the local user's request to see the remote contact's presence was denied, or the remote contact requested to see the local user's presence but then cancelled their request. |
SubscriptionStateAsk |
Presence information cannot be seen. Permission to see presence information has been requested, and the request has not yet been declined or accepted. |
SubscriptionStateYes |
Presence information can be seen. |
_SubscriptionStatePadding |
Enumerated type generated from the specification.
Values of this enumeration indicate the extent to which metadata such as aliases and group memberships can be stored for the contacts on a particular connection.
On some protocols, certain metadata (for instance, contact aliases) can only be stored for contacts on the contact list, or contacts with a particular contact list state.
To make it easier to deal with such protocols, if clients set metadata on a contact who is not in the required state, the Connection MUST cache the metadata for the duration of the session. If clients request the attributes of that contact after the appropriate "set" method has returned successfully, the Connection MUST return the new (cached) value.
If the contact is later placed in the required state to store metadata (for instance, if subscription to the contact's presence is requested, on a protocol like MSN where the alias has storage type Subscribed_Or_Pending), the connection MUST store the cached metadata at that time.
<tp:rationale>
If the Connection didn't cache changes in this way, a client intending to change the alias on MSN would have to wait until the server acknowledged the subscription request; in the meantime, other clients would still display the old alias. </tp:rationale>
The only exception to that general rule is that if the Connection cannot store particular metadata at all (i.e. the storage type is None), it MUST reject attempts to set it.
<tp:rationale>
If the implementation knows that metadata can't be stored at all, it's useful to report that, which can be done synchronously. In general, user interfaces should detect storage type None and not display editing controls at all. </tp:rationale>
ContactMetadataStorageTypeNone |
This connection cannot store this type of metadata at all, and attempting to do so will fail with NotImplemented. <tp:rationale> Link-local XMPP can't store aliases or group memberships at all, and subscription and presence states are implicit (all contacts on the local network have subscribe = publish = Yes and no other contacts exist). As of April 2010, the XMPP server for Facebook Chat provides a read-only view of the user's Facebook contacts, so it could also usefully have this storage type. </tp:rationale> |
ContactMetadataStorageTypeSubscribedOrPending |
This type of metadata can only be stored permanently for contacts whose subscribe attribute is Ask or Yes. <tp:rationale> Contact aliases and groups on MSN have this behaviour. </tp:rationale> |
ContactMetadataStorageTypeSubscribed |
This type of metadata can only be stored permanently for contacts whose subscribe attribute is Yes. <tp:rationale> No service with this behaviour is currently known, but it's a stricter form of Subscribed_Or_Pending. </tp:rationale> |
ContactMetadataStorageTypeAnyone |
The user can set this metadata for any valid contact identifier, whether or not they have any presence subscription relationship to it, and it will be stored on their contact list. <tp:rationale> Contact aliases and groups on XMPP have this behaviour; it is possible to put a contact in a group, or assign an alias to them, without requesting that presence be shared. </tp:rationale> |
_ContactMetadataStorageTypePadding |
enum Tp::HTTPMethod |
enum Tp::ServicePointType |
Enumerated type generated from the specification.
The various types of service points a channel might connect to.
Enumerated type generated from the specification.
ConnectionPresenceTypeUnset |
An invalid presence type used as a null value. This value MUST NOT appear in the Statuses property, or in the result of GetStatuses on the deprecated Presence interface. |
ConnectionPresenceTypeOffline |
Offline |
ConnectionPresenceTypeAvailable |
Available |
ConnectionPresenceTypeAway |
Away |
ConnectionPresenceTypeExtendedAway |
Away for an extended time |
ConnectionPresenceTypeHidden |
Hidden (invisible) |
ConnectionPresenceTypeBusy |
Busy, Do Not Disturb. |
ConnectionPresenceTypeUnknown |
Unknown, unable to determine presence for this contact, for example if the protocol only allows presence of subscribed contacts. |
ConnectionPresenceTypeError |
Error, an error occurred while trying to determine presence. The message, if set, is an error from the server. |
_ConnectionPresenceTypePadding |
Enumerated type generated from the specification.
A type for communication access control. These control policies are used in <tp:dbus-ref namespace="org.freedesktop.Telepathy.Connection.Interface">CommunicationPolicy.DRAFT</tp:dbus-ref> as well as most rich presence interfaces.
New interfaces should use this type, and NOT <tp:type>Rich_Presence_Access_Control_Type</tp:type>.
Enumerated type generated from the specification.
A type of access control for Rich_Presence_Access_Control. For most types, the exact access control is given by an associated variant.
<tp:rationale>
These are the access control types from XMPP publish/subscribe (XEP-0060). </tp:rationale>
<tp:dbus-ref namespace="org.freedesktop.Telepathy.Connection.Interface">Location</tp:dbus-ref> uses this for historical reasons, new interfaces will use <tp:type>Access_Control_Type</tp:type>.
Enumerated type generated from the specification.
Enumerated type generated from the specification.
Enumerated type generated from the specification.
enum Tp::FileHashType |
enum Tp::MediaStreamType |
enum Tp::MediaStreamState |
Enumerated type generated from the specification.
Enumerated type generated from the specification.
Enumerated type generated from the specification.
The type of message.
enum Tp::TubeType |
Enumerated type generated from the specification.
enum Tp::TubeState |
enum Tp::ChannelChatState |
Enumerated type generated from the specification.
enum Tp::DTMFEvent |
Enumerated type generated from the specification.
Enumerated type generated from the specification.
The reason for a set of handles to move to one of <tp:member-ref>Members</tp:member-ref>, <tp:member-ref>LocalPendingMembers</tp:member-ref> or <tp:member-ref>RemotePendingMembers</tp:member-ref>, or to be removed from the group. A client may supply a reason when attempting to remove members from a group with <tp:member-ref>RemoveMembersWithReason</tp:member-ref>, and reasons are supplied by the CM when emitting <tp:member-ref>MembersChanged</tp:member-ref> and <tp:member-ref>MembersChangedDetailed</tp:member-ref>. Some reason codes have different meanings depending on the Actor in a MembersChanged signal.
enum Tp::LocalHoldState |
Enumerated type generated from the specification.
The hold state of a channel.
Enumerated type generated from the specification.
The reason for a change to the Local_Hold_State. Clients MUST treat unknown values as equivalent to Local_Hold_State_Reason_None.
enum Tp::DeliveryStatus |
Enumerated type generated from the specification.
The status of a message as indicated by a delivery report. If this enum is extended in future specifications, this should only be to add new, non-overlapping conditions (i.e. all failures should still be signalled as either Temporarily_Failed or Permanently_Failed). If additional detail is required (e.g. distinguishing between the various types of permanent failure) this will be done using additional Delivery_Report_Header_Keys.
enum Tp::SASLAbortReason |
enum Tp::SASLStatus |
Enumerated type generated from the specification.
SASLStatusNotStarted |
The initial state. The Handler SHOULD either call AbortSASL, or connect to the NewChallenge signal then call StartMechanism or StartMechanismWithData. |
SASLStatusInProgress |
The challenge/response exchange is in progress. The Handler SHOULD call either Respond or AcceptSASL exactly once per emission of NewChallenge, or call AbortSASL at any time. |
SASLStatusServerSucceeded |
The server has indicated successful authentication, and the connection manager is waiting for confirmation from the Handler. The Handler must call either AcceptSASL or AbortSASL to indicate whether it considers authentication to have been successful. |
SASLStatusClientAccepted |
The Handler has indicated successful authentication, and the connection manager is waiting for confirmation from the server. The state will progress to either Succeeded or Server_Failed when confirmation is received. |
SASLStatusSucceeded |
Everyone is happy (the server sent success, and the client has called AcceptSASL). Connection to the server will proceed as soon as this state is reached. The Handler SHOULD call Close to close the channel. |
SASLStatusServerFailed |
The server has indicated an authentication failure. If CanTryAgain is true, the client may try to authenticate again, by calling StartMechanism or StartMechanismWithData again. Otherwise, it should give up completely, by calling Close on the channel. |
SASLStatusClientFailed |
The client has indicated an authentication failure. The possible actions are the same as for Server_Failed. |
_SASLStatusPadding |
enum Tp::TubeChannelState |
Enumerated type generated from the specification.
Enumerated type generated from the specification.
Enumerated type generated from the specification.
enum Tp::MediaStreamError |
Enumerated type generated from the specification.
const int Tp::NUM_HANDLE_TYPES |
1 higher than the highest valid value of HandleType.
const int Tp::NUM_CONNECTION_STATUSES |
1 higher than the highest valid value of ConnectionStatus.
const int Tp::NUM_CONNECTION_STATUS_REASONS |
1 higher than the highest valid value of ConnectionStatusReason.
const int Tp::NUM_CONTACT_LIST_STATES |
1 higher than the highest valid value of ContactListState.
const int Tp::NUM_SUBSCRIPTION_STATES |
1 higher than the highest valid value of SubscriptionState.
const int Tp::NUM_CONTACT_METADATA_STORAGE_TYPES |
1 higher than the highest valid value of ContactMetadataStorageType.
const int Tp::NUM_HTTP_METHODS |
1 higher than the highest valid value of HTTPMethod.
const int Tp::NUM_SERVICE_POINT_TYPES |
1 higher than the highest valid value of ServicePointType.
const int Tp::NUM_CONNECTION_PRESENCE_TYPES |
1 higher than the highest valid value of ConnectionPresenceType.
const int Tp::NUM_ACCESS_CONTROL_TYPES |
1 higher than the highest valid value of AccessControlType.
1 higher than the highest valid value of RichPresenceAccessControlType.
const int Tp::NUM_CHANNEL_CONTACT_SEARCH_STATES |
1 higher than the highest valid value of ChannelContactSearchState.
const int Tp::NUM_FILE_TRANSFER_STATES |
1 higher than the highest valid value of FileTransferState.
1 higher than the highest valid value of FileTransferStateChangeReason.
const int Tp::NUM_FILE_HASH_TYPES |
1 higher than the highest valid value of FileHashType.
const int Tp::NUM_MEDIA_STREAM_TYPES |
1 higher than the highest valid value of MediaStreamType.
const int Tp::NUM_MEDIA_STREAM_STATES |
1 higher than the highest valid value of MediaStreamState.
const int Tp::NUM_MEDIA_STREAM_DIRECTIONS |
1 higher than the highest valid value of MediaStreamDirection.
const int Tp::NUM_CHANNEL_TEXT_SEND_ERRORS |
1 higher than the highest valid value of ChannelTextSendError.
const int Tp::NUM_CHANNEL_TEXT_MESSAGE_TYPES |
1 higher than the highest valid value of ChannelTextMessageType.
const int Tp::NUM_TUBE_TYPES |
1 higher than the highest valid value of TubeType.
const int Tp::NUM_TUBE_STATES |
1 higher than the highest valid value of TubeState.
const int Tp::NUM_CHANNEL_CHAT_STATES |
1 higher than the highest valid value of ChannelChatState.
const int Tp::NUM_DTMF_EVENTS |
1 higher than the highest valid value of DTMFEvent.
const int Tp::NUM_CHANNEL_GROUP_CHANGE_REASONS |
1 higher than the highest valid value of ChannelGroupChangeReason.
const int Tp::NUM_LOCAL_HOLD_STATES |
1 higher than the highest valid value of LocalHoldState.
const int Tp::NUM_LOCAL_HOLD_STATE_REASONS |
1 higher than the highest valid value of LocalHoldStateReason.
const int Tp::NUM_DELIVERY_STATUSES |
1 higher than the highest valid value of DeliveryStatus.
const int Tp::NUM_SASL_ABORT_REASONS |
1 higher than the highest valid value of SASLAbortReason.
const int Tp::NUM_SASL_STATUSES |
1 higher than the highest valid value of SASLStatus.
const int Tp::NUM_TUBE_CHANNEL_STATES |
1 higher than the highest valid value of TubeChannelState.
const int Tp::NUM_SOCKET_ADDRESS_TYPES |
1 higher than the highest valid value of SocketAddressType.
const int Tp::NUM_SOCKET_ACCESS_CONTROLS |
1 higher than the highest valid value of SocketAccessControl.
const int Tp::NUM_MEDIA_STREAM_ERRORS |
1 higher than the highest valid value of MediaStreamError.
const int Tp::NUM_MEDIA_STREAM_BASE_PROTOS |
1 higher than the highest valid value of MediaStreamBaseProto.
const int Tp::NUM_MEDIA_STREAM_TRANSPORT_TYPES |
1 higher than the highest valid value of MediaStreamTransportType.
Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation | Telepathy-Qt4 0.6.1 |