Class of android.media, in AudioAttributes · AudioAttributes.java · Android's reference
public static class Builder
public Builder() empty body sourcepublic Builder(AudioAttributes aa) sourcepublic AudioAttributes build() sourcepublic Builder setUsage(int usage) sourcepublic Builder setContentType(int contentType) sourcepublic Builder setFlags(int flags) sourcepublic Builder setAllowedCapturePolicy(int capturePolicy) sourcepublic Builder setHapticChannelsMuted(boolean muted) sourcepublic Builder setLegacyStreamType(int streamType) sourceThe usage and the content type of a legacy stream type.
Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.