java.lang.Object | |
↳ | com.gsma.services.rcs.capability.Capabilities |
Capabilities of a contact. This class encapsulates the different capabilities which may be supported by the local user or a remote contact.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | CAPABILITY_FILE_TRANSFER | Indicates the file transfer capability is supported. | |||||||||
int | CAPABILITY_GEOLOC_PUSH | Indicates the geoloc push capability is supported. | |||||||||
int | CAPABILITY_IM | Indicates the IM capability is supported. | |||||||||
int | CAPABILITY_IMAGE_SHARING | Indicates the image sharing capability is supported. | |||||||||
int | CAPABILITY_VIDEO_SHARING | Indicates the video sharing capability is supported. |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
android.os.Parcelable
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Set<String> |
getSupportedExtensions()
Gets the set of supported extensions
| ||||||||||
long |
getTimestamp()
Timestamp of the last capability response (in milliseconds)
| ||||||||||
boolean |
hasCapabilities(int capabilities)
Tests for the support of capabilities on this instance.
| ||||||||||
boolean |
isAutomata()
Is automata
| ||||||||||
boolean |
isExtensionSupported(String tag)
Is extension supported
| ||||||||||
boolean |
isFileTransferSupported()
This method is deprecated.
Use
hasCapabilities(int) instead. | ||||||||||
boolean |
isGeolocPushSupported()
This method is deprecated.
Use
hasCapabilities(int) instead. | ||||||||||
boolean |
isImSessionSupported()
This method is deprecated.
Use
hasCapabilities(int) instead. | ||||||||||
boolean |
isImageSharingSupported()
This method is deprecated.
Use
hasCapabilities(int) instead. | ||||||||||
boolean |
isVideoSharingSupported()
This method is deprecated.
Use
hasCapabilities(int) instead. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
android.os.Parcelable
|
Indicates the file transfer capability is supported.
Indicates the geoloc push capability is supported.
Indicates the IM capability is supported.
Indicates the image sharing capability is supported.
Indicates the video sharing capability is supported.
Gets the set of supported extensions
Timestamp of the last capability response (in milliseconds)
Tests for the support of capabilities on this instance.
Is automata
Is extension supported
tag | Feature tag |
---|
This method is deprecated.
Use hasCapabilities(int)
instead.
Is file transfer supported
This method is deprecated.
Use hasCapabilities(int)
instead.
Is geolocation push supported
This method is deprecated.
Use hasCapabilities(int)
instead.
Is IM session supported
This method is deprecated.
Use hasCapabilities(int)
instead.
Is image sharing supported
This method is deprecated.
Use hasCapabilities(int)
instead.
Is video sharing supported