Communicates with the Skm Api to get Urls for thumbnails and Rtsp streams
More...
|
| string | GetArchiveUrl (SkmObject Device, DateTime StartTime, DateTime EndTime, bool skipGaps=false) |
| | Gets the archive Url of a Skm resource. The command will create a one use ticket, that is a part of the returned string, on the Skm server. This ticket is only good for ten seconds. More...
|
| |
| string | GetArchiveUrl (string objectId, DateTime StartTime, DateTime EndTime, bool skipGaps=false) |
| | Gets the archive Url of a Skm resource. The command will create a one use ticket, that is a part of the returned string, on the Skm server. This ticket is only good for ten seconds. More...
|
| |
| string | GetDownloadClipUrl (string objectId, DateTime StartTime, DateTime EndTime) |
| | Returns URL to download media clip. More...
|
| |
| string | GetLiveUrl (SkmObject Device, bool analytics=false) |
| | Gets the live Url of a Skm resource. The command will create a one use ticket, that is a part of the returned string, on the Skm server. This ticket is only good for ten seconds. More...
|
| |
| string | GetLiveUrl (string objectId, bool analytics=false) |
| | Gets the live Url of a Skm resource. The command will create a one use ticket, that is a part of the returned string, on the Skm server. This ticket is only good for ten seconds. More...
|
| |
| string | GetSnapshotUrl (SkmObject Device) |
| | Gets the snapshot/thumbnail of a Skm resource object More...
|
| |
| | SkmBase (SkmSession Session) |
| | Constructor More...
|
| |
Communicates with the Skm Api to get Urls for thumbnails and Rtsp streams
◆ GetArchiveUrl() [1/2]
| string SkmXmlApi.AuthorizationCommand.GetArchiveUrl |
( |
SkmObject |
Device, |
|
|
DateTime |
StartTime, |
|
|
DateTime |
EndTime, |
|
|
bool |
skipGaps = false |
|
) |
| |
Gets the archive Url of a Skm resource. The command will create a one use ticket, that is a part of the returned string, on the Skm server. This ticket is only good for ten seconds.
- Parameters
-
| Device | The Skm device to get the Url for |
| StartTime | Time to begin playing back |
| EndTime | Time of archive to stop playing |
| skipGaps | Skip archive gaps |
- Returns
- Archive Url of resource
◆ GetArchiveUrl() [2/2]
| string SkmXmlApi.AuthorizationCommand.GetArchiveUrl |
( |
string |
objectId, |
|
|
DateTime |
StartTime, |
|
|
DateTime |
EndTime, |
|
|
bool |
skipGaps = false |
|
) |
| |
Gets the archive Url of a Skm resource. The command will create a one use ticket, that is a part of the returned string, on the Skm server. This ticket is only good for ten seconds.
- Parameters
-
| objectId | The Skm device to get the Url for |
| StartTime | Time to begin playing back |
| EndTime | Time of archive to stop playing |
| skipGaps | Skip archive gaps |
- Returns
- Archive Url of resource
◆ GetDownloadClipUrl()
| string SkmXmlApi.AuthorizationCommand.GetDownloadClipUrl |
( |
string |
objectId, |
|
|
DateTime |
StartTime, |
|
|
DateTime |
EndTime |
|
) |
| |
Returns URL to download media clip.
- Parameters
-
| objectId | |
| StartTime | |
| EndTime | |
- Returns
◆ GetLiveUrl() [1/2]
| string SkmXmlApi.AuthorizationCommand.GetLiveUrl |
( |
SkmObject |
Device, |
|
|
bool |
analytics = false |
|
) |
| |
Gets the live Url of a Skm resource. The command will create a one use ticket, that is a part of the returned string, on the Skm server. This ticket is only good for ten seconds.
- Parameters
-
| Device | The Skm device to get the url for |
| analytics | True for analytics |
- Returns
- Live url of resource
◆ GetLiveUrl() [2/2]
| string SkmXmlApi.AuthorizationCommand.GetLiveUrl |
( |
string |
objectId, |
|
|
bool |
analytics = false |
|
) |
| |
Gets the live Url of a Skm resource. The command will create a one use ticket, that is a part of the returned string, on the Skm server. This ticket is only good for ten seconds.
- Parameters
-
| objectId | The Skm device to get the url for |
| analytics | True for analytics |
- Returns
- Live url of resource
◆ GetSnapshotUrl()
| string SkmXmlApi.AuthorizationCommand.GetSnapshotUrl |
( |
SkmObject |
Device | ) |
|
Gets the snapshot/thumbnail of a Skm resource object
- Parameters
-
| Device | The Skm device to get the url for |
- Returns
- Snapshot url of resource
◆ NewAuthorizationCommand()
Factory method to create a new instance of the Authorization command
- Parameters
-
| Session | Current working session |
- Returns
- New instance of the AuthorizationCommand
The documentation for this class was generated from the following file:
- src/SkmXmlApi/AuthorizationCommand.cs