AudioAttributes.Builder.SetFlags(AudioFlags) Method

Definition

Sets the combination of flags.

[Android.Runtime.Register("setFlags", "(I)Landroid/media/AudioAttributes$Builder;", "GetSetFlags_IHandler")]
public virtual Android.Media.AudioAttributes.Builder? SetFlags(Android.Media.AudioFlags flags);
[<Android.Runtime.Register("setFlags", "(I)Landroid/media/AudioAttributes$Builder;", "GetSetFlags_IHandler")>]
abstract member SetFlags : Android.Media.AudioFlags -> Android.Media.AudioAttributes.Builder
override this.SetFlags : Android.Media.AudioFlags -> Android.Media.AudioAttributes.Builder

Parameters

flags
AudioFlags

a combination of AudioAttributes.FLAG_AUDIBILITY_ENFORCED, AudioAttributes.FLAG_HW_AV_SYNC.

Returns

the same Builder instance.

Attributes

Remarks

Sets the combination of flags. This is a bitwise OR with the existing flags.

Android reference for android.media.AudioAttributes.Builder.setFlags.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to