java.lang.Object | |
↳ | com.gsma.services.rcs.sharing.geoloc.GeolocSharing |
Geoloc sharing
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
enum | GeolocSharing.ReasonCode | Reason code | |||||||||
enum | GeolocSharing.State | Geoloc sharing state |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void |
abortSharing()
Aborts the sharing
| ||||||||||
void |
acceptInvitation()
Accepts geoloc sharing invitation
| ||||||||||
RcsService.Direction |
getDirection()
Returns the direction of the sharing
| ||||||||||
Geoloc |
getGeoloc()
Returns the geolocation info
| ||||||||||
GeolocSharing.ReasonCode |
getReasonCode()
Returns the reason code of the state of the sharing
| ||||||||||
ContactId |
getRemoteContact()
Returns the remote contact identifier
| ||||||||||
String |
getSharingId()
Returns the sharing ID of the geoloc sharing
| ||||||||||
GeolocSharing.State |
getState()
Returns the state of the sharing
| ||||||||||
long |
getTimestamp()
Returns the local timestamp of when the geoloc sharing was initiated for outgoing geoloc
sharing or the local timestamp of when the geoloc sharing invitation was received for
incoming geoloc sharings.
| ||||||||||
void |
rejectInvitation()
Rejects geoloc sharing invitation
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Aborts the sharing
RcsPermissionDeniedException | |
RcsGenericException | |
RcsPermissionDeniedException |
Accepts geoloc sharing invitation
RcsGenericException |
---|
Returns the direction of the sharing
RcsPersistentStorageException | |
RcsGenericException | |
RcsGenericException | |
RcsPersistentStorageException |
Returns the geolocation info
RcsPersistentStorageException | |
RcsGenericException | |
RcsGenericException | |
RcsPersistentStorageException |
Returns the reason code of the state of the sharing
RcsPersistentStorageException | |
RcsGenericException | |
RcsGenericException | |
RcsPersistentStorageException |
Returns the remote contact identifier
RcsPersistentStorageException | |
RcsGenericException | |
RcsPersistentStorageException |
Returns the state of the sharing
RcsPersistentStorageException | |
RcsGenericException | |
RcsGenericException | |
RcsPersistentStorageException |
Returns the local timestamp of when the geoloc sharing was initiated for outgoing geoloc sharing or the local timestamp of when the geoloc sharing invitation was received for incoming geoloc sharings.
RcsPersistentStorageException | |
RcsGenericException | |
RcsPersistentStorageException |
Rejects geoloc sharing invitation
RcsGenericException |
---|