flash.net.drm

# DRMDeviceGroup - AS3

Package | flash.net.drm
Class | public final class DRMDeviceGroup
Inheritance | DRMDeviceGroup Object

Language Version: | ActionScript 3.0

Runtime Versions: | AIR 3.0, Flash Player 11.9

A device group signifies a group of playback devices that shares protected-content playback rights.

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | authenticationMethod : String [read-only] The type of authentication required to register to this device group. | DRMDeviceGroup
|  | constructor : Object A reference to the class object or constructor function for a given object instance. | Object
|  | domain : String [read-only] The content domain of the device group registration server to which the user must be authenticated before registering to this device group. | DRMDeviceGroup
|  | name : String The domain name of this device group. | DRMDeviceGroup
|  | serverURL : String [read-only] The URL of the registration server for this device group. | DRMDeviceGroup

Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods

| Method | Defined By
--- | --- | ---
|  | hasOwnProperty(name:String):Boolean Indicates whether an object has a specified property defined. | Object
|  | isPrototypeOf(theClass:Object):Boolean Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter. | Object
|  | propertyIsEnumerable(name:String):Boolean Indicates whether the specified property exists and is enumerable. | Object
|  | setPropertyIsEnumerable(name:String, isEnum:Boolean = true):void Sets the availability of a dynamic property for loop operations. | Object
|  | toLocaleString():String Returns the string representation of this object, formatted according to locale-specific conventions. | Object
|  | toString():String Returns the string representation of the specified object. | Object
|  | valueOf():Object Returns the primitive value of the specified object. | Object

Property Detail

### authenticationMethod

property

`authenticationMethod:String` [read-only]

Language Version: | ActionScript 3.0

Runtime Versions: | AIR 3.0

The type of authentication required to register to this device group.

The supported types of authentication are:

- AuthenticationMethod.ANONYMOUS — anyone can register.
- AuthenticationMethod.USERNAME_AND_PASSWORD — the user must supply a valid username and password of an account that is authorized to register to this device group.

The AuthenticationMethod class provides string constants to use with the `authenticationMethod` property.

Implementation
`public function get authenticationMethod():String`

### domain

property

`domain:String` [read-only]

Language Version: | ActionScript 3.0

Runtime Versions: | AIR 3.0

The content domain of the device group registration server to which the user must be authenticated before registering to this device group.

Note: The domain returned by this property has nothing to do with network or Internet domain names. In this case, a domain is a group of content or user accounts. For example, a single server could support several domains, each with its own set of content channels and subscribers.

Implementation
`public function get domain():String`

### name

property

`name:String`

Language Version: | ActionScript 3.0

Runtime Versions: | AIR 3.9, Flash Player 11.9

The domain name of this device group. This value is only set on the object returned in the DRMDeviceGroupEvent dispatched from DRMManager.addToDeviceGroup on success.

Note: The domain returned by this property has nothing to do with network or Internet domain names. In this case, a domain is the name of this device group.

Implementation
`public function get name():String`
`public function set name(value:String):void`

### serverURL

property

`serverURL:String` [read-only]

Language Version: | ActionScript 3.0

Runtime Versions: | AIR 3.0

The URL of the registration server for this device group.

Implementation
`public function get serverURL():String`

© 2015 Adobe Systems Incorporated. All rights reserved.
Mon Apr 10 2017, 12:28 PM -07:00