Gets the name of the document target.

<void> DocumentTarget.getTargetName(<RequestStringCallback> callback, [<ErrorCallback> errorCallback])

Parameters

Parameter Description
callback Receives the document target's name.
errorCallback Optional. Is called when the operation failed with an error.