FuseJS
    Preparing search index...

    Interface IFusePermissionRequest<TSupportedPermission>Experimental

    An interface to standardize handling permissions

    interface IFusePermissionRequest<TSupportedPermission extends number = number> {
        getPermissionSet(): TSupportedPermission[];
        request(): Promise<FusePermissionGrantResult<TSupportedPermission>>;
    }

    Type Parameters

    • TSupportedPermission extends number = number

    Implemented by

    Index

    Methods

    • Experimental

      A list of symbols that would represent the permission to request on the native side.

      The implementation should define an enum, union type, or something that declares what permissions it supports requesting.

      An implementation should support requesting a grouped set of permissions, which Android may combine into one prompt.

      iOS will generally use one permission.

      Returns TSupportedPermission[]