Builder

Class of android.media, in AudioAttributes · AudioAttributes.java · Android's reference

public static class Builder

Constructors

public Builder() empty body source
public Builder(AudioAttributes aa) source

Methods

public AudioAttributes build() source
public Builder setUsage(int usage) source
public Builder setContentType(int contentType) source
public Builder setFlags(int flags) source
public Builder setAllowedCapturePolicy(int capturePolicy) source
public Builder setHapticChannelsMuted(boolean muted) source
public Builder setLegacyStreamType(int streamType) source

The 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.