Initial support for AIR
This commit is contained in:
19
externs/air/flash/net/drm/DRMManager.hx
Normal file
19
externs/air/flash/net/drm/DRMManager.hx
Normal file
@@ -0,0 +1,19 @@
|
||||
package flash.net.drm;
|
||||
|
||||
extern class DRMManager extends flash.events.EventDispatcher {
|
||||
function new() : Void;
|
||||
function addToDeviceGroup(deviceGroup : DRMDeviceGroup, forceRefresh : Bool = false) : Void;
|
||||
function authenticate(serverURL : String, domain : String, username : String, password : String) : Void;
|
||||
function loadPreviewVoucher(contentData : DRMContentData) : Void;
|
||||
function loadVoucher(contentData : DRMContentData, setting : String) : Void;
|
||||
function removeFromDeviceGroup(deviceGroup : DRMDeviceGroup) : Void;
|
||||
function resetDRMVouchers() : Void;
|
||||
function resetDRMVouchersInternal(isAutoReset : Bool) : Void;
|
||||
function returnVoucher(inServerURL : String, immediateCommit : Bool, licenseID : String, policyID : String) : Void;
|
||||
function setAuthenticationToken(serverUrl : String, domain : String, token : flash.utils.ByteArray) : Void;
|
||||
function storeVoucher(voucher : flash.utils.ByteArray) : Void;
|
||||
static var isSupported(default,never) : Bool;
|
||||
static var networkIdleTimeout : Float;
|
||||
static function getDRMManager() : DRMManager;
|
||||
static function getDRMManagerInternal() : DRMManager;
|
||||
}
|
||||
Reference in New Issue
Block a user