Starting Projection
Function
This API is used to start projection. Call this API only after login.
Function Prototype
startProjection(startProjectionParam: StartProjectionParam, onStartProjectionResult?: (ret: SDKERR, reason: string, startProjectionResult: StartProjectionResult) => void): voidstartProjection(startProjectionParam: StartProjectionParam, onStartProjectionResult?: (ret: SDKERR, reason: string, startProjectionResult: StartProjectionResult) => void): void
Request Parameters
Parameter | Mandatory | Type | Description |
---|---|---|---|
startProjectionParam | Yes | StartProjectionParam | Parameter body for starting projection. |
onStartProjectionResult | Yes | (ret: SDKERR, reason: string, startProjectionResult: StartProjectionResult) => void | Callback of starting projection. |
Parameter | Mandatory | Type | Description |
---|---|---|---|
pairCode | Yes | string | Pairing code. |
randomNumber | No | string | Random number, which needs to be carried for cross-enterprise projection. |
verifyCode | No | string | Verification code, which needs to be carried for cross-enterprise projection. |
Return Values
void
Callback Method Parameters
(ret: SDKERR, reason: string, startProjectionResult: StartProjectionResult) => void
Parameter | Type | Description |
---|---|---|
ret | For details about SDKERR, see Error Code Reference. | Error code. |
reason | string | Error description. |
startProjectionResult | StartProjectionResult | Projection result. |
Parameter | Type | Description |
---|---|---|
randomNumber | string | Random number. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot