# MessageProviderPermissionHandler

public class MessageProviderPermissionHandler

Created by yanke on 2021/8/30

## Properties

REQUEST_CODE_ITEM_PROVIDER_PERMISSIONS
Link copied to clipboard
public final static int REQUEST_CODE_ITEM_PROVIDER_PERMISSIONS

## Functions

addMessageContent
Link copied to clipboard
public void addMessageContent(Class<? extends MessageContent> messageContentClass, Array<String> permissions)
getInstance
Link copied to clipboard
public static MessageProviderPermissionHandler getInstance()
handleMessageClickPermission
Link copied to clipboard
public boolean handleMessageClickPermission(UiMessage uiMessage, Fragment fragment)
onRequestPermissionsResult
Link copied to clipboard
public void onRequestPermissionsResult(Activity activity, Array<String> permissions, Array<int> grantResults)