Milestone SDK Mobile .Net
|
Class wrapping Views related commands. More...
Public Member Functions | |||||||
IAsyncResult | GetItems (ItemParams itemParams, OnResponse< GetAllItemsResponse > onSuccess=null, OnResponse< GetAllItemsResponse > onFail=null) | ||||||
Method for request of a sub view items of a current view item from the Mobile Server. Implemented by ItemCommands object. Sends message to the Mobile 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).
| |||||||
GetAllItemsResponse | GetItems (ItemParams itemParams, TimeSpan timeout) | ||||||
Method for request of a sub view items of a current view item from the Mobile Server. Implemented by ItemCommands object. Sends message to the Mobile server and returns GetSubItemsResponse. If method doesn't succeed GetSubItemsResponse is null. Error status message could be obtained with query of IErrorResult.
| |||||||
async Task< GetAllItemsResponse > | GetItemsAsync (ItemParams itemParams, TimeSpan timeout) | ||||||
Method for request of a sub view items of a current view item from the Mobile Server. Implemented by Views object. Sends message to the Mobile server and returns Task<GetSubItemsResponse>. If method doesn't succeed GetSubItemsResponse is null. Error status message could be obtained with query of IErrorResult.
| |||||||
ItemCommands (IConnection connection) | |||||||
![]() | |||||||
![]() | |||||||
![]() |
Class wrapping Views related commands.
|
inline |
|
inline |
Method for request of a sub view items of a current view item from the Mobile Server.
Implemented by ItemCommands object.
Sends message to the Mobile 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).
itemParams | Parameters for the current command |
onSuccess | Callback called on success. |
onFail | Callback called on fail. |
Implements VideoOS.Mobile.SDK.Portable.Server.Interfaces.IItemsAsync.
|
inline |
Method for request of a sub view items of a current view item from the Mobile Server.
Implemented by ItemCommands object.
Sends message to the Mobile server and returns GetSubItemsResponse.
If method doesn't succeed GetSubItemsResponse is null.
Error status message could be obtained with query of IErrorResult.
itemParams | Parameters for the current command |
timeout | Time to wait the responce from the server |
Implements VideoOS.Mobile.SDK.Portable.Server.Interfaces.IItemsSync.
|
inline |
Method for request of a sub view items of a current view item from the Mobile Server.
Implemented by Views object.
Sends message to the Mobile server and returns Task<GetSubItemsResponse>.
If method doesn't succeed GetSubItemsResponse is null.
Error status message could be obtained with query of IErrorResult.
itemParams | Parameters for the current command |
timeout | Time to wait the responce from the server. |
Implements VideoOS.Mobile.SDK.Portable.Server.Interfaces.IItemsAwait.