Method | Description | |
---|---|---|
AltitudeAngelClient ( string authUrl, string apiUrl, DotNetOpenAuth.OAuth2.AuthorizationState existingState, |
Constructor.
|
|
Disconnect ( ) : void |
Disconnect the client from AA. Will force logon on the next request if required.
|
|
GetMapData ( |
Get the map data from the AA api service. Required scopes: query_mapdata query_mapairdata
|
|
GetUserProfile ( ) : Task |
Get the user profile for the current user. Must be using user auth. Required scopes: query_userinfo
|
|
GetWeather ( GMap.NET.PointLatLng latLong ) : Task |
Get the weather for the specified location. Do not call this method often, typically only once per session. Required scopes: talk_tower
|
public AltitudeAngelClient ( string authUrl, string apiUrl, DotNetOpenAuth.OAuth2.AuthorizationState existingState, |
||
authUrl | string | The base auth URL (scheme and host) for the service. |
apiUrl | string | The base API URL (scheme and host) for the service. |
existingState | DotNetOpenAuth.OAuth2.AuthorizationState | Any existing state from a previous session. |
handlerFactory | A delegate to create the http handler factory. | |
return | System |
public GetMapData ( |
||
latLongBounds | The bounds of the request. | |
return | Task |
public GetWeather ( GMap.NET.PointLatLng latLong ) : Task |
||
latLong | GMap.NET.PointLatLng | The location. |
return | Task |