The default implementation for matching permission descriptors.
For most permissions, this implementation matches descriptors only by their name property.
name
For the midi permission, sysex is also checked, with a missing sysex property being treated as false.
midi
sysex
false
For the push permission, userVisibleOnly is also checked, with a missing userVisibleOnly property being treated as false.
push
userVisibleOnly
The first descriptor to compare.
The second descriptor to compare.
Whether the descriptors match.
PermissionStoreParameters.isMatchingDescriptor for how to supply custom matching logic to a permission store.
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 missingsysex
property being treated asfalse
.For the
push
permission,userVisibleOnly
is also checked, with a missinguserVisibleOnly
property being treated asfalse
.