NabtoDeviceWebrtc.setCheckAccessCallback()

DESCRIPTION

Set Callback to be called to check if some action is allowed by the current connection.

When the callback is invoked, it must return true if the action is allowed otherwise it must return false. If no callback is set, all actions are denied.

Possible actions are: “Webrtc:Signaling” “Webrtc:GetInfo”

DECLARATION

    void setCheckAccessCallback(CheckAccessCallback cb)

PARAMETERS

cb:
[in] The callback to set