OpenMicrophoneResponse.Builder
public final class OpenMicrophoneResponse.Builder
A builder for OpenMicrophoneResponses.
Summary
Public constructors |
|---|
Builder(@NonNull CarAudioCallback callback) |
Public methods |
|
|---|---|
@NonNull OpenMicrophoneResponse |
build()Builds the |
@NonNull OpenMicrophoneResponse.Builder |
setCarMicrophoneDescriptor(Sets the |
Public constructors
Public methods
build
Added in 1.3.0
public @NonNull OpenMicrophoneResponse build()
Builds the OpenMicrophoneResponse for this builder.
setCarMicrophoneDescriptor
Added in 1.3.0
public @NonNull OpenMicrophoneResponse.Builder setCarMicrophoneDescriptor(
@NonNull ParcelFileDescriptor carMicrophoneDescriptor
)
Sets the ParcelFileDescriptor that is to be used to read microphone bytes from the car.
This is only needed in projected case, where the car microphone comes from the host.