Milestone SDK Mobile .Net
|
Actions related commands. More...
Public Member Functions | |||||||
ActionsCommands (IConnection connection) | |||||||
Constructor. | |||||||
IAsyncResult | ActivateAction (ActivateParams activateParams, OnResponse< BaseCommandResponse > onSuccess=null, OnResponse< BaseCommandResponse > onFail=null) | ||||||
Method for activation of an action into the mobile server Implemented by Connection object. Sends message to the server and returns IAsyncResult. If method succeeds IAsyncResult.AsyncState contains BaseCommandResponse. Error status message could be obtained with query of IErrorResult (from the resulted IAsyncResult).
| |||||||
BaseCommandResponse | ActivateAction (ActivateParams activateParams, TimeSpan timeout) | ||||||
Method for activation of an action into the mobile server Implemented by Connection object. Sends message to the server and returns BaseCommandResponse. Error status message could be obtained with query of IErrorResult.
| |||||||
IAsyncResult | GetActions (OutputsEventsParams actionsParams, OnResponse< GetActionsResponse > onSuccess=null, OnResponse< GetActionsResponse > onFail=null) | ||||||
Method for request of actions from the Mobile Server Implemented by Connection object. Sends message to the server and returns IAsyncResult. If method succeeds IAsyncResult.AsyncState contains GetActionsResponse object. Error status message could be obtained with query of IErrorResult (from the resulted IAsyncResult).
| |||||||
GetActionsResponse | GetActions (OutputsEventsParams actionsParams, TimeSpan timeout) | ||||||
Method for request of actions from the Mobile Server Implemented by Connection object. Sends message to the server and returns GetActionsResponse. Error status message could be obtained with query of IErrorResult.
| |||||||
![]() | |||||||
![]() |
Actions related commands.
|
inline |
Constructor.
connection | IConnection implementer |
|
inline |
Method for activation of an action into the mobile server
Implemented by Connection object.
Sends message to the server and returns IAsyncResult.
If method succeeds IAsyncResult.AsyncState contains BaseCommandResponse.
Error status message could be obtained with query of IErrorResult (from the resulted IAsyncResult).
activateParams | Parametes for activating the action |
onSuccess | Callback called on success |
onFail | Callback called on fail |
Implements VideoOS.Mobile.SDK.Portable.Server.Interfaces.IActionsAsync.
|
inline |
Method for activation of an action into the mobile server
Implemented by Connection object.
Sends message to the server and returns BaseCommandResponse.
Error status message could be obtained with query of IErrorResult.
activateParams | Parametes for activating the action |
timeout | Time to wait the responce from the server |
Implements VideoOS.Mobile.SDK.Portable.Server.Interfaces.IActionsSync.
|
inline |
Method for request of actions from the Mobile Server
Implemented by Connection object.
Sends message to the server and returns IAsyncResult.
If method succeeds IAsyncResult.AsyncState contains GetActionsResponse object.
Error status message could be obtained with query of IErrorResult (from the resulted IAsyncResult).
actionsParams | Parametes for getting actions |
onSuccess | Callback called on success |
onFail | Callback called on fail |
Implements VideoOS.Mobile.SDK.Portable.Server.Interfaces.IActionsAsync.
|
inline |
Method for request of actions from the Mobile Server
Implemented by Connection object.
Sends message to the server and returns GetActionsResponse.
Error status message could be obtained with query of IErrorResult.
actionsParams | Parametes for getting actions |
timeout | Time to wait the responce from the server |
Implements VideoOS.Mobile.SDK.Portable.Server.Interfaces.IActionsSync.