public class LocationClientNotification
extends ClientNotification
| Modifier and Type | Class and Description |
|---|---|
static class |
LocationClientNotification.LocationNotificationType
Client Notifications types.
|
| Modifier | Constructor and Description |
|---|---|
protected |
LocationClientNotification(java.lang.String type,
java.lang.String id) |
| Modifier and Type | Method and Description |
|---|---|
static ClientNotification |
createLocationUpdateNotification(double latitude,
double longitude) |
static ClientNotification |
createLocationUpdateNotification(double latitude,
double longitude,
java.lang.String externalUserId,
java.lang.String networkProfileId) |
static ClientNotification |
createRequestLocationNotification(java.lang.String externalUserId,
java.lang.String networkProfileId,
java.lang.String deviceId)
Create a notification to request location of a user with a given network profile id
|
protected LocationClientNotification(java.lang.String type,
java.lang.String id)
public static ClientNotification createRequestLocationNotification(java.lang.String externalUserId,
java.lang.String networkProfileId,
java.lang.String deviceId)
externalUserId - Requester user id.networkProfileId - Network profile id of user to ask for a location.deviceId - Device id for requested location.public static ClientNotification createLocationUpdateNotification(double latitude,
double longitude)
public static ClientNotification createLocationUpdateNotification(double latitude,
double longitude,
java.lang.String externalUserId,
java.lang.String networkProfileId)