top

MICROPHONE

request to get microphone instances.

Add the following line for microphone class into a html file your own :

  script type="text/javascript" src="$MANAGER_WIDGET/Common/webapi/1.0/deviceapis.js">/script>

You can declare microphone class like this :

  ex) var microphone = deviceapis.microphone;


Constants

NameValueDescription
MICROPHONE_FORMAT_SIGNED_16BIT_LITTLE_ENDIAN 0Default format of Microphone
MICROPHONE_FRAMERATE_480004800sample rate is 48k. CD quality. Default format of Microphone
MICROPHONE_EFFECT_REVERB1reverb effect
MICROPHONE_EFFECT_FILTER16reverb effect

Methods

getMicrophones

Description
request to get microphone instances.
Parameters
■successCallback 
  - Function 
■errorCallback 
  - Function
Return■Void
Emulator SupportY
SDK ConstraintNone
Example
deviceapis.microphone.getMicrophones(successCallback, errorCallback);