Windows Media Player 11 SDK Settings.requestMediaAccessRightsÂ
Previous | Next |
Settings.requestMediaAccessRights
The requestMediaAccessRights method requests a specified level of access to the library.
Syntax
Parameters
access
String specifying the desired access rights level. Contains one of the following values.
String | Description |
none | Current item access rights only. |
read | Read access rights only. |
full | Read/Write access rights. |
Return Values
This method returns a Boolean value indicating whether the requested access rights were granted.
Remarks
A Web page must first request permission from the user to read information from or write data to the library. Invoking this method prompts the user with a dialog box that requests the specified permission level. This means that certain methods, properties, and events will be inaccessible from code if the appropriate access rights have not been granted. The current access rights level can be retrieved using Settings.mediaAccessRights.
Windows Media Player 10 Mobile: This method always returns true.
Requirements
Version: Windows Media Player 9 Series or later.
Library: Use wmp.dll.
See Also
Previous | Next |