public final class AudioPermissionModule extends PermissionModule
SoundManager
log, main
Modifier and Type | Method and Description |
---|---|
boolean |
canCheckPermission(Permission permission)
returns true if able to check permissions
|
void |
checkPermission(Permission permission,
AddOnModel addOn)
Checks if the given addOn is allowed to access the requested service.
|
getSecurityManager, isRegistered, registerAddOn, registerOrThrow
debug, debug, error, error, fatal, fatal, getID, getMain
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isOwner
public boolean canCheckPermission(Permission permission)
canCheckPermission
in class PermissionModule
permission
- the permission to checkpublic void checkPermission(Permission permission, AddOnModel addOn) throws IzouSoundPermissionException
PermissionModule
checkPermission
in class PermissionModule
permission
- the Permission to checkaddOn
- the identifiable to checkIzouSoundPermissionException
Copyright © 2016. All rights reserved.