public class

Capabilities

extends Object
implements Parcelable
java.lang.Object
   ↳ com.gsma.services.rcs.capability.Capabilities

Class Overview

Capabilities of a contact. This class encapsulates the different capabilities which may be supported by the local user or a remote contact.

Summary

[Expand]
Inherited Constants
From interface android.os.Parcelable
Public Methods
Set<String> getSupportedExtensions()
Get list of supported extensions
long getTimestamp()
Timestamp of the last capability response (in milliseconds)
boolean isAutomata()
Is automata
boolean isExtensionSupported(String tag)
Is extension supported
boolean isFileTransferSupported()
Is file transfer supported
boolean isGeolocPushSupported()
Is geolocation push supported
boolean isImSessionSupported()
Is IM session supported
boolean isImageSharingSupported()
Is image sharing supported
boolean isVideoSharingSupported()
Is video sharing supported
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Public Methods

public Set<String> getSupportedExtensions ()

Get list of supported extensions

Returns
  • Set of feature tags

public long getTimestamp ()

Timestamp of the last capability response (in milliseconds)

Returns
  • the timestamp of the last capability response

public boolean isAutomata ()

Is automata

Returns
  • true if it's an automata else returns false

public boolean isExtensionSupported (String tag)

Is extension supported

Parameters
tag Feature tag
Returns
  • true if supported else returns false

public boolean isFileTransferSupported ()

Is file transfer supported

Returns
  • true if supported else returns false

public boolean isGeolocPushSupported ()

Is geolocation push supported

Returns
  • true if supported else returns false

public boolean isImSessionSupported ()

Is IM session supported

Returns
  • true if supported else returns false

public boolean isImageSharingSupported ()

Is image sharing supported

Returns
  • true if supported else returns false

public boolean isVideoSharingSupported ()

Is video sharing supported

Returns
  • true if supported else returns false