Sets an identifier for the document target.

<void> DocumentTarget.setID(<number> id, [<EmptyRequestCallback> callback], [<ErrorCallback> errorCallback])

Parameters

Parameter Description
id An identifier for the document target.
callback Optional. Is called when the operation completed.
errorCallback Optional. Is called when the operation failed with an error.