| Pacchetto | org.osmf.events |
| Classe | public class DRMEvent |
| Ereditarietà | DRMEvent Event Object |
| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | OSMF 1.0 |
| Versioni runtime: | Flash Player 10.1, AIR 1.5 |
Proprietà pubbliche
| Proprietà | Definito da | ||
|---|---|---|---|
![]() | bubbles : Boolean [sola lettura]
Indica se un evento è un evento di bubbling. | Event | |
![]() | cancelable : Boolean [sola lettura]
Indica se il comportamento associato all'evento può essere impedito. | Event | |
![]() | constructor : Object
Un riferimento all'oggetto classe o alla funzione di costruzione per una determinata istanza di oggetto. | Object | |
![]() | currentTarget : Object [sola lettura]
L'oggetto che elabora attivamente l'oggetto Event con un listener di eventi. | Event | |
| drmState : String [sola lettura]
The current state of the DRM trait. | DRMEvent | ||
| endDate : Date [sola lettura]
The end date for the playback window, null if authentication
hasn't taken place. | DRMEvent | ||
![]() | eventPhase : uint [sola lettura]
La fase attuale del flusso di eventi. | Event | |
| mediaError : MediaError [sola lettura]
The error that describes an authentication failure. | DRMEvent | ||
| period : Number [sola lettura]
The length of the playback window, in seconds; NaN if
authentication hasn't taken place. | DRMEvent | ||
| serverURL : String [sola lettura]
The authentication prompt for the DRM content associated with this DRMEvent. | DRMEvent | ||
| startDate : Date [sola lettura]
The start date for the playback window, null if authentication
hasn't taken place. | DRMEvent | ||
![]() | target : Object [sola lettura]
Il target dell'evento. | Event | |
| token : Object [sola lettura]
The token returned as a result of a successful authentication. | DRMEvent | ||
![]() | type : String [sola lettura]
Il tipo di evento. | Event | |
Metodi pubblici
| Metodo | Definito da | ||
|---|---|---|---|
DRMEvent(type:String, state:String, bubbles:Boolean = false, cancelable:Boolean = false, start:Date = null, end:Date = null, period:Number = 0, serverURL:String = null, token:Object = null, mediaError:MediaError = null)
Constructor. | DRMEvent | ||
![]() |
Duplica un'istanza di una sottoclasse Event. | Event | |
![]() |
Una funzione dell'utilità per l'implementazione del metodo toString() in classi Event ActionScript 3.0 personalizzate. | Event | |
![]() |
Indica se per un oggetto è definita una proprietà specifica. | Object | |
![]() |
Verifica se sull'evento è stato chiamato il metodo preventDefault(). | Event | |
![]() |
Indica se un'istanza della classe Object si trova nella catena di prototipi dell'oggetto specificato come parametro. | Object | |
![]() |
Annulla il comportamento predefinito di un evento se tale comportamento può essere annullato. | Event | |
![]() |
Indica se la proprietà specificata esiste ed è enumerabile. | Object | |
![]() |
Imposta la disponibilità di una proprietà dinamica per le operazioni cicliche. | Object | |
![]() |
Impedisce l'elaborazione di tutti i listener di eventi nel nodo corrente e in tutti i nodi successivi del flusso di eventi. | Event | |
![]() |
Impedisce l'elaborazione di tutti i listener di eventi nei nodi del flusso di eventi successivi a quello corrente. | Event | |
![]() |
Restituisce la rappresentazione in formato stringa di questo oggetto, formattato in base alle convenzioni specifiche per le versioni localizzate. | Object | |
![]() |
Restituisce una stringa che contiene tutte le proprietà dell'oggetto Event. | Event | |
![]() |
Restituisce il valore di base dell'oggetto specificato. | Object | |
Costanti pubbliche
| Costante | Definito da | ||
|---|---|---|---|
| DRM_STATE_CHANGE : String = "drmStateChange" [statico]
The DRMEvent.DRM_STATE_CHANGE constant defines the value
of the type property of the event object for a change to the drmState
of a DRMTrait. | DRMEvent | ||
Descrizione delle proprietà
drmState | proprietà |
endDate | proprietà |
mediaError | proprietà |
mediaError:MediaError [sola lettura] | Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | OSMF 1.0 |
| Versioni runtime: | Flash Player 10.1, AIR 1.5 |
The error that describes an authentication failure.
Implementazione
public function get mediaError():MediaErrorperiod | proprietà |
period:Number [sola lettura] | Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | OSMF 1.0 |
| Versioni runtime: | Flash Player 10.1, AIR 1.5 |
The length of the playback window, in seconds; NaN if authentication hasn't taken place.
Note that this property will generally be the difference between startDate and endDate, but is included as a property because there may be times where the duration is known up front, but the start or end dates are not (e.g. a one week rental).
Implementazione
public function get period():NumberserverURL | proprietà |
startDate | proprietà |
token | proprietà |
Descrizione della funzione di costruzione
DRMEvent | () | Funzione di costruzione |
public function DRMEvent(type:String, state:String, bubbles:Boolean = false, cancelable:Boolean = false, start:Date = null, end:Date = null, period:Number = 0, serverURL:String = null, token:Object = null, mediaError:MediaError = null)| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | OSMF 1.0 |
| Versioni runtime: | Flash Player 10.1, AIR 1.5 |
Constructor.
Parametritype:String — The type of the event.
| |
state:String — Specifies whether the event can bubble up the display list hierarchy.
| |
bubbles:Boolean (default = false) — Specifies whether the behavior associated with the event can be prevented.
| |
cancelable:Boolean (default = false) — Specified the unique identifier for this content
| |
start:Date (default = null) — The authentication prompt associated with this content.
| |
end:Date (default = null) — The error that describes an authentication failure.
| |
period:Number (default = 0) | |
serverURL:String (default = null) | |
token:Object (default = null) | |
mediaError:MediaError (default = null) |
Descrizione delle costanti
DRM_STATE_CHANGE | Costante |
public static const DRM_STATE_CHANGE:String = "drmStateChange"| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | OSMF 1.0 |
| Versioni runtime: | Flash Player 10.1, AIR 1.5 |
The DRMEvent.DRM_STATE_CHANGE constant defines the value of the type property of the event object for a change to the drmState of a DRMTrait.
Tue Jun 12 2018, 02:44 PM Z
Nascondi proprietà pubbliche ereditate
Mostra proprietà pubbliche ereditate