public class

RcsContact

extends Object
implements Parcelable
java.lang.Object
   ↳ com.gsma.services.rcs.contact.RcsContact

Class Overview

RCS contact

Summary

[Expand]
Inherited Constants
From interface android.os.Parcelable
Public Methods
long getBlockingTimestamp()
Returns the timestamp when the blocking was activated or -1 if contact is not blocked.
Capabilities getCapabilities()
Returns the capabilities associated to the contact
ContactId getContactId()
Returns the canonical contact ID (i.e.
String getDisplayName()
Returns the display name associated to the contact
boolean isBlocked()
Is contact blocked
boolean isOnline()
Is contact online (i.e.
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Public Methods

public long getBlockingTimestamp ()

Since: API Level 1.5

Returns the timestamp when the blocking was activated or -1 if contact is not blocked.

Returns
  • Timestamp

public Capabilities getCapabilities ()

Since: API Level 1.5

Returns the capabilities associated to the contact

Returns
  • Capabilities

public ContactId getContactId ()

Since: API Level 1.5

Returns the canonical contact ID (i.e. MSISDN)

Returns
  • Contact ID

public String getDisplayName ()

Since: API Level 1.5

Returns the display name associated to the contact

Returns
  • displayName

public boolean isBlocked ()

Since: API Level 1.5

Is contact blocked

Returns
  • Returns true if blocked else returns false

public boolean isOnline ()

Since: API Level 1.5

Is contact online (i.e. registered to the service platform)

Returns
  • Returns true if online else returns false