fake-permissions
    Preparing search index...

    Function isMatchingDescriptor

    • The default implementation for matching permission descriptors.

      For most permissions, this implementation matches descriptors only by their name property.

      For the midi permission, sysex is also checked, with a missing sysex property being treated as false.

      For the push permission, userVisibleOnly is also checked, with a missing userVisibleOnly property being treated as false.

      Parameters

      Returns boolean

      Whether the descriptors match.

      PermissionStoreParameters.isMatchingDescriptor for how to supply custom matching logic to a permission store.