public class

MediaRecorder

extends Object
java.lang.Object
   ↳ cyanogenmod.media.MediaRecorder

Summary

Nested Classes
class MediaRecorder.AudioSource  
Constants
String ACTION_HOTWORD_INPUT_CHANGED

Broadcast Action: The state of the HOTWORD audio input has changed.:

  • state - A String value indicating the state of the input.
String CAPTURE_AUDIO_HOTWORD_PERMISSION Allows an application to listen passively to the device microphone in the background to detect speech of a hotword or phrase.
String EXTRA_CURRENT_PACKAGE_NAME Extra for ACTION_HOTWORD_INPUT_CHANGED that provides the package name of the app in that controlled the HOTWORD input when the state changed.
Public Constructors
MediaRecorder()
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String ACTION_HOTWORD_INPUT_CHANGED

Added in API level 2

Broadcast Action: The state of the HOTWORD audio input has changed.:

This is a protected intent that can only be sent by the system. It can only be received by packages that hold CAPTURE_AUDIO_HOTWORD.

Constant Value: "com.cyanogenmod.intent.action.HOTWORD_INPUT_CHANGED"

public static final String CAPTURE_AUDIO_HOTWORD_PERMISSION

Added in API level 2

Allows an application to listen passively to the device microphone in the background to detect speech of a hotword or phrase. This is a system|signature permission.

Constant Value: "android.permission.CAPTURE_AUDIO_HOTWORD"

public static final String EXTRA_CURRENT_PACKAGE_NAME

Added in API level 2

Extra for ACTION_HOTWORD_INPUT_CHANGED that provides the package name of the app in that controlled the HOTWORD input when the state changed. Can be reused for other purposes.

Constant Value: "com.cyanogenmod.intent.extra.CURRENT_PACKAGE_NAME"

Public Constructors

public MediaRecorder ()

Added in API level 2