C# 클래스 SensorbergSDK.Internal.Services.ApiConnection

Implementation for the Sensorberg Cloud Backend. IApiConnection
상속: IApiConnection
파일 보기 프로젝트 열기: sensorberg-dev/windows10-sdk

공개 메소드들

메소드 설명
Convert ( System code ) : HttpStatusCode

Helper to convert the status code to the other status code object.

LoadSettings ( ) : Task

Load the Settings from the backend.

RetrieveLayoutResponse ( string apiId ) : Task

Sends a layout request to server and returns the HTTP response, if any.

SendHistory ( History history ) : Task

Sends the given History object to the cloud.

메소드 상세

Convert() 공개 정적인 메소드

Helper to convert the status code to the other status code object.
public static Convert ( System code ) : HttpStatusCode
code System
리턴 HttpStatusCode

LoadSettings() 공개 메소드

Load the Settings from the backend.
public LoadSettings ( ) : Task
리턴 Task

RetrieveLayoutResponse() 공개 메소드

Sends a layout request to server and returns the HTTP response, if any.
public RetrieveLayoutResponse ( string apiId ) : Task
apiId string optional api id, overrides the given id by SDKData.
리턴 Task

SendHistory() 공개 메소드

Sends the given History object to the cloud.
public SendHistory ( History history ) : Task
history SensorbergSDK.Internal.Data.History History object to send.
리턴 Task