-
public interface AudioDeviceCapturerAudioDeviceCapturer interface provides the mechanism to define a custom audio device capturer.
-
-
Method Summary
Modifier and Type Method Description abstract AudioFormatgetCapturerFormat()Returns the format of the audio that will be captured. abstract booleanonInitCapturer()Raised when the capturer is ready to be initialized. abstract booleanonStartCapturing(@NonNull() AudioDeviceContext audioDeviceContext)Raised when the capturer is ready to capture. abstract booleanonStopCapturing()Raised when the capturer stops capturing. -
-
Method Detail
-
getCapturerFormat
@Nullable() abstract AudioFormat getCapturerFormat()
Returns the format of the audio that will be captured. Returning `null` indicates capturingis not supported.
-
onInitCapturer
abstract boolean onInitCapturer()
-
onStartCapturing
abstract boolean onStartCapturing(@NonNull() AudioDeviceContext audioDeviceContext)
-
onStopCapturing
abstract boolean onStopCapturing()
-
-
-
-