'Declaration
Public Function UpdateUserPosition( _ ByVal userID As Guid, _ ByVal latitude As Decimal, _ ByVal longitude As Decimal, _ ByVal timestamp As Date _ ) As Boolean
'Usage
Dim instance As DataAccess Dim userID As Guid Dim latitude As Decimal Dim longitude As Decimal Dim timestamp As Date Dim value As Boolean value = instance.UpdateUserPosition(userID, latitude, longitude, timestamp)
Parameters
- userID
- The unique identifier of the User as a Guid.
- latitude
- The current latitude coordinate of the User as a Decimal. Value must be between -90 and 90.
- longitude
- The current longitude coordinate of the User as a Decimal. Value must be between -180 and 180.
- timestamp
- The exact date and time the given coordinates were recorded as a Date.
Dates should be specified as Local or UTC by use of the System.DateTime.Kind property. Dates with the System.DateTime.Kind property not set (Unspecified) will be interpreted as UTC.
Return Value
Returns true if the User's position was successfully updated. Otherwise, returns false.