W3cubDocs

/Haxe Flash

DRMManager

package flash.net.drm

extends EventDispatcher

Available on flash

Constructor

new ()

Methods

@:value({ forceRefresh : false }) addToDeviceGroup (deviceGroup:DRMDeviceGroup, forceRefresh:Bool = false):Void

authenticate (serverURL:String, domain:String, username:String, password:String):Void

loadPreviewVoucher (contentData:DRMContentData):Void

loadVoucher (contentData:DRMContentData, setting:String):Void

removeFromDeviceGroup (deviceGroup:DRMDeviceGroup):Void

resetDRMVouchers ():Void

resetDRMVouchersInternal (isAutoReset:Bool):Void

returnVoucher (inServerURL:String, immediateCommit:Bool, licenseID:String, policyID:String):Void

setAuthenticationToken (serverUrl:String, domain:String, token:ByteArray):Void

storeVoucher (voucher:ByteArray):Void

Static variables

static read only isSupported:Bool

static networkIdleTimeout:Float

Static methods

static getDRMManager ():DRMManager

static getDRMManagerInternal ():DRMManager

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/flash/net/drm/DRMManager.html