C# 클래스 AltitudeAngelWings.ApiClient.Client.AltitudeAngelClient

파일 보기 프로젝트 열기: ArduPilot/MissionPlanner 1 사용 예제들

공개 메소드들

메소드 설명
AltitudeAngelClient ( string authUrl, string apiUrl, DotNetOpenAuth.OAuth2.AuthorizationState existingState, AltitudeAngelHttpHandlerFactory handlerFactory ) : System

Constructor.

Disconnect ( ) : void

Disconnect the client from AA. Will force logon on the next request if required.

GetMapData ( RectLatLng latLongBounds ) : Task

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

메소드 상세

AltitudeAngelClient() 공개 메소드

Constructor.
public AltitudeAngelClient ( string authUrl, string apiUrl, DotNetOpenAuth.OAuth2.AuthorizationState existingState, AltitudeAngelHttpHandlerFactory handlerFactory ) : System
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 AltitudeAngelHttpHandlerFactory A delegate to create the http handler factory.
리턴 System

Disconnect() 공개 메소드

Disconnect the client from AA. Will force logon on the next request if required.
public Disconnect ( ) : void
리턴 void

GetMapData() 공개 메소드

Get the map data from the AA api service. Required scopes: query_mapdata query_mapairdata
public GetMapData ( RectLatLng latLongBounds ) : Task
latLongBounds GMap.NET.RectLatLng The bounds of the request.
리턴 Task

GetUserProfile() 공개 메소드

Get the user profile for the current user. Must be using user auth. Required scopes: query_userinfo
public GetUserProfile ( ) : Task
리턴 Task

GetWeather() 공개 메소드

Get the weather for the specified location. Do not call this method often, typically only once per session. Required scopes: talk_tower
public GetWeather ( GMap.NET.PointLatLng latLong ) : Task
latLong GMap.NET.PointLatLng The location.
리턴 Task