Package io.getstream.chat.android.models
Class Location
-
- All Implemented Interfaces:
public final class LocationRepresents a user's location.
-
-
Method Summary
Modifier and Type Method Description final StringgetCid()The channel ID where the location is shared. final StringgetMessageId()The ID of the message containing the location. final StringgetUserId()The ID of the user sharing the location. final DategetEndAt()The date and time when the location sharing ends. final DoublegetLatitude()The latitude of the user's location. final DoublegetLongitude()The longitude of the user's location. final StringgetDeviceId()The device ID from which the location is shared. -
-
Method Detail
-
getMessageId
final String getMessageId()
The ID of the message containing the location.
-
getLatitude
final Double getLatitude()
The latitude of the user's location.
-
getLongitude
final Double getLongitude()
The longitude of the user's location.
-
getDeviceId
final String getDeviceId()
The device ID from which the location is shared.
-
-
-
-