Properties
SupportedAvatarMIMETypes | as | Read only | Immutable | |
MinimumAvatarHeight | u | Read only | Immutable | |
MinimumAvatarWidth | u | Read only | Immutable | |
RecommendedAvatarHeight | u | Read only | Immutable | |
RecommendedAvatarWidth | u | Read only | Immutable | |
MaximumAvatarHeight | u | Read only | Immutable | |
MaximumAvatarWidth | u | Read only | Immutable | |
MaximumAvatarBytes | u | Read only | Immutable |
Added in 0.21.5. (as stable API)
Objects implementing this interface must also implement:
Description
An interface for protocols where it might be possible to set the user's avatar, and the expected size limits and supported MIME types are known before connecting.
Rationale:
Each property on this interface SHOULD be cached in the
.manager
file, using a key of the same name as the
property in the [Protocol proto]
group. All properties are encoded in ASCII decimal in the obvious
way, except for
SupportedAvatarMIMETypes which is
encoded as a sequence of strings each followed by a semicolon
(as for the "localestrings" type in the Desktop Entry
Specification).
For instance, an XMPP connection manager might have this
.manager
file:
[Protocol jabber] Interfaces=im.telepathy1.Protocol.Interface.Avatars; param-account=s required param-password=s required SupportedAvatarMIMETypes=image/png;image/jpeg;image/gif; MinimumAvatarHeight=32 RecommendedAvatarHeight=64 MaximumAvatarHeight=96 MinimumAvatarWidth=32 RecommendedAvatarWidth=64 MaximumAvatarWidth=96 MaximumAvatarBytes=8192
Properties
Accessed using the org.freedesktop.DBus.Properties
interface.
(Permalink)
SupportedAvatarMIMETypes — as
Read only
This property is
immutable which means that it can never
change.
The expected value of the Connection.Interface.Avatars1.SupportedAvatarMIMETypes
property on connections to this protocol.
(Permalink)
MinimumAvatarHeight — u
Read only
This property is
immutable which means that it can never
change.
The expected value of the Connection.Interface.Avatars1.MinimumAvatarHeight
property on connections to this protocol.
(Permalink)
MinimumAvatarWidth — u
Read only
This property is
immutable which means that it can never
change.
The expected value of the Connection.Interface.Avatars1.MinimumAvatarWidth
property on connections to this protocol.
(Permalink)
RecommendedAvatarHeight — u
Read only
This property is
immutable which means that it can never
change.
The expected value of the Connection.Interface.Avatars1.RecommendedAvatarHeight
property on connections to this protocol.
(Permalink)
RecommendedAvatarWidth — u
Read only
This property is
immutable which means that it can never
change.
The expected value of the Connection.Interface.Avatars1.RecommendedAvatarWidth
property on connections to this protocol.
(Permalink)
MaximumAvatarHeight — u
Read only
This property is
immutable which means that it can never
change.
The expected value of the Connection.Interface.Avatars1.MaximumAvatarHeight
property on connections to this protocol.
(Permalink)
MaximumAvatarWidth — u
Read only
This property is
immutable which means that it can never
change.
The expected value of the Connection.Interface.Avatars1.MaximumAvatarWidth
property on connections to this protocol.
(Permalink)
MaximumAvatarBytes — u
Read only
This property is
immutable which means that it can never
change.
The expected value of the Connection.Interface.Avatars1.MaximumAvatarBytes
property on connections to this protocol.