Class: FoscamPtzTasking

FoscamPtzTasking()

new FoscamPtzTasking()

Source:

Extends

Methods

getCommandData(values) → {string}

Gets the command data.
Parameters:
Name Type Description
values Object -
Properties
Name Type Description
preset String -
rzoom String -
rpan String -
rtilt String -
Source:
Returns:
Type
string

getId() → {String}

Gets the data protocol default id.
Inherited From:
Source:
Returns:
The id
Type
String

getName() → {String}

Gets the name.
Inherited From:
Source:
Returns:
The name
Type
String

sendRequest(properties)

Sends the request.
Parameters:
Name Type Description
properties Object -
Inherited From:
Source:

Events

onError

Called when an error is caught.
Parameters:
Name Type Description
response
Inherited From:
Source:

onSuccess

Called when the request succeeded.
Parameters:
Name Type Description
response
Inherited From:
Source: