Listener Syntax | Description | Sample Response |
SDP.on("AuthorizeConnection", function(response){ console.log(response); }); | Invoked when the connection is authorized successfully. | { "appId": "deeed61e-c6e6-4d8f-b50b-e45056e77f5b-709641411", "connectionId": 5000000027171221, "statusMessage": "Connection Authenticated Successfully", "status": true } |
SDP.on("RevokeConnection", function(response){ console.log(response); }); | Invoked when the connection is revoked successfully. | { "response": "Connection revoked successfully" } |
SDP.on("SubjectChange", function(response){ console.log(response); }); | Invoked when the subject is changed in the request form. | Error in connecting to certain websites/URLs |