public class MicrophoneHelper extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
REQUEST_PERMISSION
The Constant REQUEST_PERMISSION.
|
| Constructor and Description |
|---|
MicrophoneHelper(android.app.Activity activity)
Small helper class to sit in between the client and the more in-depth microphone classes.
|
| Modifier and Type | Method and Description |
|---|---|
void |
closeInputStream()
Close input stream.
|
MicrophoneInputStream |
getInputStream(boolean opusEncoded)
Gets the input stream.
|
public static final int REQUEST_PERMISSION
public MicrophoneHelper(android.app.Activity activity)
activity - The current activitypublic MicrophoneInputStream getInputStream(boolean opusEncoded)
opusEncoded - the opus encodedpublic void closeInputStream()