DolbyAudio

public class
loom.platform.DolbyAudio

Description

Static control class for accessing Dolby Audio on complient Android devices

API overview

Constructor

DolbyAudio ()

Attributes

Public attributes

GAME_PROFILE: String static

Constant representing the 'Game' Dolby Audio Profile

MOVIE_PROFILE: String static

Constant representing the 'Movie' Dolby Audio Profile

MUSIC_PROFILE: String static

Constant representing the 'Music' Dolby Audio Profile

VOICE_PROFILE: String static

Constant representing the 'Void' Dolby Audio Profile

supported: Boolean static native

Indicates whether or not Dolby Audio is supported on the current platform

Functions

Public functions

getSelectedProfile (): String static native

Queries the currently selected Dolby Audio processing profile

isProcessingEnabled (): Boolean static native

Queries whether or not Dolby Audio processing is enabled

isProfileSupported ( profile: String ): Boolean static native

Sets Dolby Audio processing profile type

setProcessingEnabled ( enable: Boolean ): Void static native

Sets Dolby Audio processing status

setProfile ( profile: String ): Boolean static native

Sets Dolby Audio processing profile type

Constructor

DolbyAudio ()

Attributes

GAME_PROFILE: String

static

Constant representing the 'Game' Dolby Audio Profile

MOVIE_PROFILE: String

static

Constant representing the 'Movie' Dolby Audio Profile

MUSIC_PROFILE: String

static

Constant representing the 'Music' Dolby Audio Profile

VOICE_PROFILE: String

static

Constant representing the 'Void' Dolby Audio Profile

supported: Boolean

static native

Indicates whether or not Dolby Audio is supported on the current platform

Functions

getFullTypeName (): String
Inherited from Object

native

Gets the fully qualified type name of the Object. The fully qualified type name includes the package of the type.


Returns

String fully qualified type name of the Object.

getSelectedProfile (): String

static native

Queries the currently selected Dolby Audio processing profile


Returns

String String Name of the currently selected Dolby Audio processing profile

getType (): Type
Inherited from Object

native

Gets the Type that describes the Object.


Returns

Type The Type that describes the object.

getTypeName (): String
Inherited from Object

native

Gets the type name of the Object.


Returns

String type name of the Object.

isProcessingEnabled (): Boolean

static native

Queries whether or not Dolby Audio processing is enabled


Returns

Boolean Boolean Status of Dolby Audio processing

isProfileSupported ( profile: String ): Boolean

static native

Sets Dolby Audio processing profile type

Parameters

profile: String

Returns

Boolean Boolean Whether or not the profile is supported on this hardware

setProcessingEnabled ( enable: Boolean ): Void

static native

Sets Dolby Audio processing status

Parameters

enable: Boolean Boolean indicating the status to set Dolby Audio processing to


setProfile ( profile: String ): Boolean

static native

Sets Dolby Audio processing profile type

Parameters

profile: String

Returns

Boolean Boolean Whether or not the profile was set properly. Possibly false if this profile isn't supported and the hardware.

toString (): String
Inherited from Object

native

Returns a String that describes the Object. This can be overriden to provide extra details when printing objects using trace().


Returns

String String that described the Object.

: