uicc.usim.geolocation
Interface GeoLocationInfo


public interface GeoLocationInfo

An object implementing this interface gives access to the Geo Location information received from the ME.


Method Summary
 int getAltitude()
          Gives the Altitude of the geographical location
 int getLatitude()
          Gives the Latitude of the geographical location
 int getLongitude()
          Gives the Longitude of the geographical location
 short getResponseBuffer(byte[] buffer, short bOffset, short length)
          The byte buffer is formatted using GAD shapes as defined in TS 23.032 [14].
 int getVelocity()
          Gives the Velocity of the geographical location
 

Method Detail

getLatitude

int getLatitude()
Gives the Latitude of the geographical location

Returns:
int the Latitude a negative value indicates South

getLongitude

int getLongitude()
Gives the Longitude of the geographical location

Returns:
the Longitude according to TS 23.032 [14]

getAltitude

int getAltitude()
Gives the Altitude of the geographical location

Returns:
the Longitude according to TS 23.032 [14]

getVelocity

int getVelocity()
Gives the Velocity of the geographical location

Returns:
the Longitude according to TS 23.032 [14], -1 if no velocity is given in the geo location information.

getResponseBuffer

short getResponseBuffer(byte[] buffer,
                        short bOffset,
                        short length)
The byte buffer is formatted using GAD shapes as defined in TS 23.032 [14].

Parameters:
buffer - byte array where response of the operation shall be copied.
offset - offset of the result in buffer
length - length of data in buffer
Returns:
actual length of the data copied into the buffer