目录

AuthCallback

public interface AuthCallback

It is the permission callback API.

Method Summary

Modifier and Type

Method and Description

void

onCancel() Callback function for canceling authorization.

void

onOk(Permission[] permissions) Callback function of successful authorization.

Method Detail

[h2]onOk

void onOk(Permission[] permissions)

It is the callback function of successful authorization.

Parameters:

Parameter Name

Parameter Description

permissions

List of permissions that the user has granted.

Since:

API level 0 (SDK 5.0.0.301)

[h2]onCancel

void onCancel()

It is the callback function for canceling authorization.

Since:

API level 0 (SDK 5.0.0.301)