Język

AudioFormat.Builder.SetEncoding(Encoding) Method

Definition

Sets the data encoding format.

[Android.Runtime.Register("setEncoding", "(I)Landroid/media/AudioFormat$Builder;", "GetSetEncoding_IHandler")]
public virtual Android.Media.AudioFormat.Builder? SetEncoding(Android.Media.Encoding encoding);
[<Android.Runtime.Register("setEncoding", "(I)Landroid/media/AudioFormat$Builder;", "GetSetEncoding_IHandler")>]
abstract member SetEncoding : Android.Media.Encoding -> Android.Media.AudioFormat.Builder
override this.SetEncoding : Android.Media.Encoding -> Android.Media.AudioFormat.Builder

Parameters

Returns

the same Builder instance.

Attributes

Remarks

Sets the data encoding format.

Android reference for android.media.AudioFormat.Builder.setEncoding.

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