public final class

OpenMicrophoneResponse.Builder

extends java.lang.Object

 java.lang.Object

↳androidx.car.app.media.OpenMicrophoneResponse.Builder

Overview

A builder for OpenMicrophoneResponses.

Summary

Constructors
publicBuilder(CarAudioCallback callback)

Methods
public OpenMicrophoneResponsebuild()

Builds the OpenMicrophoneResponse for this builder.

public OpenMicrophoneResponse.BuildersetCarMicrophoneDescriptor(ParcelFileDescriptor carMicrophoneDescriptor)

Sets the that is to be used to read microphone bytes from the car.

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public Builder(CarAudioCallback callback)

Methods

public OpenMicrophoneResponse.Builder setCarMicrophoneDescriptor(ParcelFileDescriptor carMicrophoneDescriptor)

Sets the 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.

public OpenMicrophoneResponse build()

Builds the OpenMicrophoneResponse for this builder.