requestPermission

private fun requestPermission(serverURL: String, context: Context, matchID: String, cb: PermissionRequestCallback)

Request a permission token from the server.

Parameters

serverURL

The server URL to send the request to.

context

The context of the calling Activity or Service to use for the request.

matchID

The match ID of the match to request the permission for.

cb

The PermissionRequestCallback object to be notified about the permission status.