Milestone SDK Mobile .Net
|
Class wrapping the 'Utilities' commands. More...
Public Member Functions | |||||||||
IAsyncResult | GetCapabilities (CapabilitiesParams tCapabilitiesParams, OnResponse< BaseCommandResponse > onSuccess=null, OnResponse< BaseCommandResponse > onFail=null) | ||||||||
Method for getting a capabilities from the Mobile Server. Implemented by UtilititesCommands object. Sends message to the server and returns IAsyncResult. If method succeeds IAsyncResult.AsyncState contains BaseCommandResponse object. Error status message could be obtained with query of IErrorResult (from the resulted IAsyncResult).
| |||||||||
CameraCapabilitiesResponse | GetCapabilities (CapabilitiesParams tCapabilitiesParams, TimeSpan timeout) | ||||||||
Method for getting a capabilities from the Mobile Server. Implemented by UtilititesCommands object. Sends message to the server and returns BaseCommandResponse. Error status message could be obtained with query of IErrorResult.
| |||||||||
IAsyncResult | GetConfiguration (string name, Guid id, OnResponse< GetConfigurationResponse > onSuccess=null, OnResponse< GetConfigurationResponse > onFail=null) | ||||||||
Method for request of a server configuration from the Mobile Server. Implemented by UtilititesCommands object. Sends message to the server and returns IAsyncResult. If method succeeds IAsyncResult.AsyncState contains BaseCommandResponse object. Error status message could be obtained with query of IErrorResult (from the resulted IAsyncResult).
| |||||||||
GetConfigurationResponse | GetConfiguration (string name, Guid id, TimeSpan timeout) | ||||||||
Method for request of a server configuration from the Mobile Server. Implemented by UtilititesCommands object. Sends message to the server and returns GetServerStatusResponse. Error status message could be obtained with query of IErrorResult.
| |||||||||
IAsyncResult | GetServerCapabilities (CapabilitiesParams tCapabilitiesParams, OnResponse< BaseCommandResponse > onSuccess=null, OnResponse< BaseCommandResponse > onFail=null) | ||||||||
Method for getting a capabilities of the Mobile Server. Implemented by UtilititesCommands object. Sends message to the server and returns BaseCommandResponse. Error status message could be obtained with query of IErrorResult. | |||||||||
ServerCapabilitiesResponse | GetServerCapabilities (TimeSpan timeout) | ||||||||
Method for getting a capabilities of the Mobile Server. Implemented by UtilititesCommands object. Sends message to the server and returns BaseCommandResponse. Error status message could be obtained with query of IErrorResult. | |||||||||
GetServerStatusResponse | GetServerStatus (GetServerStatusParams serverStatusParams, TimeSpan timeout) | ||||||||
Method for request of a server status from the Mobile Server. Implemented by UtilititesCommands object. Sends message to the server and returns GetServerStatusResponse. Error status message could be obtained with query of IErrorResult.
| |||||||||
IAsyncResult | GetServerStatus (GetServerStatusParams tServerStatusParams=null, OnResponse< GetServerStatusResponse > onSuccess=null, OnResponse< GetServerStatusResponse > onFail=null) | ||||||||
Method for request of a server status from the Mobile Server. Implemented by UtilititesCommands object. Sends message to the Mobile and returns IAsyncResult. If method succeeds IAsyncResult.AsyncState contains BaseCommandResponse object. Error status message could be obtained with query of IErrorResult (from the resulted IAsyncResult).
| |||||||||
UtilitiesCommands (IConnection connection, Action< ServerFeatures > onServerFeatures) | |||||||||
Constructor. | |||||||||
![]() | |||||||||
![]() |
Properties | |
ErrorCodes | ErrorCode [get] |
Returns error code (if presents) of the last call. | |
string | ErrorMessage [get] |
Returns error string (if presents) of the last call. | |
Command.CommandResultTypes | Result [get] |
Returns error status of the last call. | |
![]() |
Class wrapping the 'Utilities' commands.
|
inline |
Constructor.
connection | IConnection implementer |
|
inline |
Method for getting a capabilities from the Mobile Server.
Implemented by UtilititesCommands object.
Sends message to the server and returns IAsyncResult.
If method succeeds IAsyncResult.AsyncState contains BaseCommandResponse object.
Error status message could be obtained with query of IErrorResult (from the resulted IAsyncResult).
capabilitiesParams | Capabiliites parameters |
onSuccess | Callback called on success. |
onFail | Callback called on fail. |
Implements VideoOS.Mobile.SDK.Portable.Server.Interfaces.IUtilitiesAsync.
|
inline |
Method for getting a capabilities from the Mobile Server.
Implemented by UtilititesCommands object.
Sends message to the server and returns BaseCommandResponse.
Error status message could be obtained with query of IErrorResult.
capabilitiesParams | Capabiliites parameters |
timeout | Time to wait the responce from the server |
Implements VideoOS.Mobile.SDK.Portable.Server.Interfaces.IUtilitiesSync.
|
inline |
Method for request of a server configuration from the Mobile Server.
Implemented by UtilititesCommands object.
Sends message to the server and returns IAsyncResult.
If method succeeds IAsyncResult.AsyncState contains BaseCommandResponse object.
Error status message could be obtained with query of IErrorResult (from the resulted IAsyncResult).
name | Nameof the parameter |
id | ID of the parameter |
onSuccess | Callback called on success. |
onFail | Callback called on fail. |
Implements VideoOS.Mobile.SDK.Portable.Server.Interfaces.IUtilitiesAsync.
|
inline |
Method for request of a server configuration from the Mobile Server.
Implemented by UtilititesCommands object.
Sends message to the server and returns GetServerStatusResponse.
Error status message could be obtained with query of IErrorResult.
name | Nameof the parameter |
id | ID of the parameter |
timeout | Time to wait the responce from the server |
Implements VideoOS.Mobile.SDK.Portable.Server.Interfaces.IUtilitiesSync.
|
inline |
Method for getting a capabilities of the Mobile Server.
Implemented by UtilititesCommands object.
Sends message to the server and returns BaseCommandResponse.
Error status message could be obtained with query of IErrorResult.
capabilitiesParams | |
onSuccess | |
onFail |
Implements VideoOS.Mobile.SDK.Portable.Server.Interfaces.IUtilitiesAsync.
|
inline |
Method for getting a capabilities of the Mobile Server.
Implemented by UtilititesCommands object.
Sends message to the server and returns BaseCommandResponse.
Error status message could be obtained with query of IErrorResult.
timeout |
Implements VideoOS.Mobile.SDK.Portable.Server.Interfaces.IUtilitiesSync.
|
inline |
Method for request of a server status from the Mobile Server.
Implemented by UtilititesCommands object.
Sends message to the server and returns GetServerStatusResponse.
Error status message could be obtained with query of IErrorResult.
serverStatusParams | Parameters for getting server status |
timeout | Time to wait the responce from the server |
Implements VideoOS.Mobile.SDK.Portable.Server.Interfaces.IUtilitiesSync.
|
inline |
Method for request of a server status from the Mobile Server.
Implemented by UtilititesCommands object.
Sends message to the Mobile and returns IAsyncResult.
If method succeeds IAsyncResult.AsyncState contains BaseCommandResponse object.
Error status message could be obtained with query of IErrorResult (from the resulted IAsyncResult).
tServerStatusParams | Parameters for getting server status |
onSuccess | Callback called on success. |
onFail | Callback called on fail. |
Implements VideoOS.Mobile.SDK.Portable.Server.Interfaces.IUtilitiesAsync.
|
get |
Returns error code (if presents) of the last call.
Implements VideoOS.Mobile.SDK.Portable.Server.Interfaces.IErrorResult.
|
get |
Returns error string (if presents) of the last call.
Implements VideoOS.Mobile.SDK.Portable.Server.Interfaces.IErrorResult.
|
get |
Returns error status of the last call.
Implements VideoOS.Mobile.SDK.Portable.Server.Interfaces.IErrorResult.