Milestone SDK Mobile .Net
|
Class for wrapping the Ptz related commands. More...
Public Member Functions | |||||||
IAsyncResult | ControlPtz (PtzParams tPtzParams, OnResponse< BaseCommandResponse > onSuccess=null, OnResponse< BaseCommandResponse > onFail=null) | ||||||
Method for set of ptz on camera or current stream from the Mobile Server (should be live stream). Implemented by the Video object. Sends message to the Mobile and returns IAsyncResult. If method succeeds IAsyncResult.AsyncState contains null object.
| |||||||
BaseCommandResponse | ControlPtz (PtzParams tPtzParams, TimeSpan timeout) | ||||||
Method for set of ptz on camera or current stream from the Mobile Server (should be live stream). Implemented by the Video & Ptz objects. Sends message to the Mobile server and returns BaseCommandResponse. Error status message could be obtained with query of IErrorResult.
| |||||||
async Task< BaseCommandResponse > | ControlPtzAsync (PtzParams tPtzParams, TimeSpan timeout) | ||||||
Method for set of ptz on camera or current stream from the Mobile Server (should be live stream). Implemented by the Video & Ptz objects. Sends message to the Mobile server and returns Task<BaseCommandResponse>. Error status message could be obtained with query of IErrorResult.
| |||||||
IAsyncResult | GetPtzPresets (Guid cameraId, OnResponse< GetPtzPresetsResponse > onSuccess=null, OnResponse< GetPtzPresetsResponse > onFail=null) | ||||||
Method for get of ptz presets on camera or current stream from the Mobile Server (should be live stream) Implemented by the Video object. Sends message to the Mobile and returns IAsyncResult. If method succeeds IAsyncResult.AsyncState contains GetPtzPresetsResponse object.
| |||||||
GetPtzPresetsResponse | GetPtzPresets (Guid cameraId, TimeSpan timeout) | ||||||
Method for get of ptz presets on camera or current stream from the Mobile Server (should be live stream). Implemented by the Video & Ptz object. Sends message to the Mobile server and returns GetPtzPresetsResponse. If the method succeeds result is not null and consist all the supported presets. Error status message could be obtained with query of IErrorResult.
| |||||||
async Task< GetPtzPresetsResponse > | GetPtzPresetsAsync (Guid cameraId, TimeSpan timeout) | ||||||
Method for get of ptz presets on camera or current stream from the Mobile Server (should be live stream). Implemented by the Video & Ptz object. Sends message to the Mobile server and returns Task<GetPtzPresetsResponse>. If the method succeeds result is not null and consist all the supported presets. Error status message could be obtained with query of IErrorResult.
| |||||||
Ptz (IConnection connection) | |||||||
Constructor. | |||||||
Ptz (IConnection connection, Guid videoId) | |||||||
COnstructor. | |||||||
![]() | |||||||
![]() | |||||||
![]() |
Class for wrapping the Ptz related commands.
|
inline |
Constructor.
connection | IConnection implementer |
|
inline |
COnstructor.
connection | IConnection implementer |
videoId | Id of the video stream |
|
inline |
Method for set of ptz on camera or current stream from the Mobile Server (should be live stream).
Implemented by the Video object.
Sends message to the Mobile and returns IAsyncResult.
If method succeeds IAsyncResult.AsyncState contains null object.
ptzParams | PTZ paramters for move. |
onSuccess | Callback called on success. |
onFail | Callback called on fail. |
Implements VideoOS.Mobile.SDK.Portable.Server.Interfaces.IPtzAsync.
|
inline |
Method for set of ptz on camera or current stream from the Mobile Server (should be live stream).
Implemented by the Video & Ptz objects.
Sends message to the Mobile server and returns BaseCommandResponse.
Error status message could be obtained with query of IErrorResult.
ptzParams | PTZ paramters for move. |
timeout |
Implements VideoOS.Mobile.SDK.Portable.Server.Interfaces.IPtzSync.
|
inline |
Method for set of ptz on camera or current stream from the Mobile Server (should be live stream).
Implemented by the Video & Ptz objects.
Sends message to the Mobile server and returns Task<BaseCommandResponse>.
Error status message could be obtained with query of IErrorResult.
ptzParams | PTZ paramters for move. |
timeout | Time to wait the responce from the server |
Implements VideoOS.Mobile.SDK.Portable.Server.Interfaces.IPtzAwait.
|
inline |
Method for get of ptz presets on camera or current stream from the Mobile Server (should be live stream)
Implemented by the Video object.
Sends message to the Mobile and returns IAsyncResult.
If method succeeds IAsyncResult.AsyncState contains GetPtzPresetsResponse object.
cameraId | Id of the camera |
onSuccess | Callback called on success. |
onFail | Callback called on fail. |
Implements VideoOS.Mobile.SDK.Portable.Server.Interfaces.IPtzAsync.
|
inline |
Method for get of ptz presets on camera or current stream from the Mobile Server (should be live stream).
Implemented by the Video & Ptz object.
Sends message to the Mobile server and returns GetPtzPresetsResponse.
If the method succeeds result is not null and consist all the supported presets.
Error status message could be obtained with query of IErrorResult.
cameraId | Id of the camera |
timeout |
Implements VideoOS.Mobile.SDK.Portable.Server.Interfaces.IPtzSync.
|
inline |
Method for get of ptz presets on camera or current stream from the Mobile Server (should be live stream).
Implemented by the Video & Ptz object.
Sends message to the Mobile server and returns Task<GetPtzPresetsResponse>.
If the method succeeds result is not null and consist all the supported presets.
Error status message could be obtained with query of IErrorResult.
cameraId | Id of the camera |
timeout | Time to wait the responce from the server |
Implements VideoOS.Mobile.SDK.Portable.Server.Interfaces.IPtzAwait.