Returns location of mobile terminal if available. Location accuracy can also be specified.

Namespace: hr.tis.mgw.client.location
Assembly:   mgw2-client-1.0.6 (in mgw2-client-1.0.6)
Version: 2.1.0.6

Syntax

Visual Basic (Declaration)
Function getLocation ( _
	routeId As String, _
	requesterAddress As String, _
	endUserAddress As String, _
	accuracy As Accuracy _
) As Location
C#
Location getLocation (
	string routeId,
	string requesterAddress,
	string endUserAddress,
	Accuracy accuracy
)
Visual C++
Location^ getLocation (
	String^ routeId, 
	String^ requesterAddress, 
	String^ endUserAddress, 
	Accuracy accuracy
)

Parameters

routeId
System.String
route identifier
requesterAddress
System.String
requester address (MSISDN number or some other identifier)
endUserAddress
System.String
target end user address (MSISDN number or some other identifier)
accuracy
hr.tis.mgw.client.location.Accuracy
location accuracy

Return Value

hr.tis.mgw.client.location.Location containing all relevant location data

Exceptions

ExceptionCondition
!:MUnknownEndUserAddressExceptionwhen end user address was unknown
hr.tis.mgw.client.GatewayExceptionwhen gateway couldn't process request for some reason
hr.tis.mgw.client.security.NoRouteCredentialsExceptionwhen security credentials cannot be resolved for specified route
hr.tis.mgw.client.exceptions.MRemoteExceptionwhen there was communication error with gateway