ICLocationAttachment (Discontinued)

🚧

Note

Please note that we have announced end of sale for Cordova SDK. It is no longer offered as a standard Webex Connect capability.

This class exposes data relating to location attachments that are received through In-app or Push, also used to send a location to outgoing In-app messages.

getLatitude

This method is used to get the latitude of the location passed in a message.

Syntax: double getLatitude()

Return Value: Returns the latitude of the location.

getLongitude

This method is used to get the longitude of the location passed in a message.

Syntax: double getLongitude()

Return Value: Returns the longitude of the location.

setLatitude

This method is used to set the latitude of the location passed in a message.

Syntax: void setLatitude(double latitude)

Parameters:

ParameterTypeDescription
latitudedoubleSpecifies the latitude of the location.

setLongitude

This method is used to set the longitude of the location passed in a message.

Syntax: void setLongitude(double longitude)

Parameters:

ParameterTypeDescription
longitudedoubleSpecifies the longitude of the location.