| |
|
| java.lang.Object com.sun.mmedia.PermissionAccessor
PermissionAccessor | final public class PermissionAccessor (Code) | | A Wrapper class for platform/product specific permission management.
This file contains CLDC/MIDP speecific version of the class.
|
Method Summary | |
public static void | checkContentTypePermissions(String locator, String contentType) Method indended to be called by Manager.createPlayer(DataSource)
and checks if user application has enough permissions to playback
media of a given content-type using given type
of locators. | public static void | checkLocatorPermissions(String locator) Method indended to be called by Manager.createDataSource(locator)
and checks if user application has enough permissions to use given type
of locators to play media contents. | public static void | checkPermissions(int thePermission) Method indended to be called by Players & Controls to check
if user application has enough permissions to perform
a secured operation ... |
PERMISSION_AUDIO_CAPTURE | final public static int PERMISSION_AUDIO_CAPTURE(Code) | | |
PERMISSION_AUDIO_RECORDING | final public static int PERMISSION_AUDIO_RECORDING(Code) | | |
PERMISSION_FILE_READ | final public static int PERMISSION_FILE_READ(Code) | | |
PERMISSION_FILE_WRITE | final public static int PERMISSION_FILE_WRITE(Code) | | |
PERMISSION_HTTP_READ | final public static int PERMISSION_HTTP_READ(Code) | | |
PERMISSION_HTTP_WRITE | final public static int PERMISSION_HTTP_WRITE(Code) | | |
PERMISSION_IMAGE_CAPTURE | final public static int PERMISSION_IMAGE_CAPTURE(Code) | | |
PERMISSION_RADIO_TUNER_SET_PRESET | final public static int PERMISSION_RADIO_TUNER_SET_PRESET(Code) | | |
PERMISSION_SOCKET_READ | final public static int PERMISSION_SOCKET_READ(Code) | | |
PERMISSION_SOCKET_WRITE | final public static int PERMISSION_SOCKET_WRITE(Code) | | |
PERMISSION_SYSTEM | final public static int PERMISSION_SYSTEM(Code) | | |
PERMISSION_VIDEO_CAMERA_SHUTTER_FEEDBACK | final public static int PERMISSION_VIDEO_CAMERA_SHUTTER_FEEDBACK(Code) | | |
PERMISSION_VIDEO_CAPTURE | final public static int PERMISSION_VIDEO_CAPTURE(Code) | | |
PERMISSION_VIDEO_RECORDING | final public static int PERMISSION_VIDEO_RECORDING(Code) | | |
PERMISSION_VIDEO_SNAPSHOT | final public static int PERMISSION_VIDEO_SNAPSHOT(Code) | | |
checkContentTypePermissions | public static void checkContentTypePermissions(String locator, String contentType) throws SecurityException(Code) | | Method indended to be called by Manager.createPlayer(DataSource)
and checks if user application has enough permissions to playback
media of a given content-type using given type
of locators.
Parameters: locator - - the URL to be used as media source for player, can be null if DataSOurce has been created not from locator Parameters: contentType - - content-type boolean of the media |
checkLocatorPermissions | public static void checkLocatorPermissions(String locator) throws SecurityException(Code) | | Method indended to be called by Manager.createDataSource(locator)
and checks if user application has enough permissions to use given type
of locators to play media contents.
Parameters: locator - - the URL to be used as media source for player |
checkPermissions | public static void checkPermissions(int thePermission) throws SecurityException(Code) | | Method indended to be called by Players & Controls to check
if user application has enough permissions to perform
a secured operation ...
Parameters: thePermission - - one of PERMISSION_* constants that define permissions in an product-independent form. |
|
|
|