Deprecated
for removal since 24.
There is no replacement for this class.
AudioPermission class represents access rights to the audio
system resources. An AudioPermission contains a target name but no
actions list; you either have the named permission or you don't.
The target name is the name of the audio permission. The names follow the hierarchical property-naming convention. Also, an asterisk can be used to represent all the audio permissions.
API Note
This permission cannot be used for controlling access to resources as the Security Manager is no longer supported. Consequently this class is deprecated and may be removed in a future release.
| Modifier and Type | Field and Description |
|---|---|
| private static final long | serialVersionUID
Use serialVersionUID from JDK 1.3 for interoperability.
|
| Access | Constructor and Description |
|---|---|
| public | AudioPermission(final String
the name of the new name)AudioPermissionCreates a new |
| public | AudioPermission(final String
the name of the new name, final String AudioPermission(unused; should be actions)null)Creates a new |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. Use serialVersionUID from JDK 1.3 for interoperability. | |
| AudioPermission | back to summary |
|---|---|
| public AudioPermission(final String name) Creates a new
| |
| AudioPermission | back to summary |
|---|---|
| public AudioPermission(final String name, final String actions) Creates a new
| |