次の方法で共有


VolumeShaper.Replace Method

Definition

Replaces the current VolumeShaperconfiguration with a new configuration.

[Android.Runtime.Register("replace", "(Landroid/media/VolumeShaper$Configuration;Landroid/media/VolumeShaper$Operation;Z)V", "", ApiSince=26)]
public void Replace (Android.Media.VolumeShaper.Configuration configuration, Android.Media.VolumeShaper.Operation operation, bool join);
[<Android.Runtime.Register("replace", "(Landroid/media/VolumeShaper$Configuration;Landroid/media/VolumeShaper$Operation;Z)V", "", ApiSince=26)>]
member this.Replace : Android.Media.VolumeShaper.Configuration * Android.Media.VolumeShaper.Operation * bool -> unit

Parameters

configuration
VolumeShaper.Configuration

the new configuration to use.

operation
VolumeShaper.Operation

the operation to apply to the VolumeShaper

join
Boolean

if true, match the start volume of the new configuration to the current volume of the existing VolumeShaper, to avoid discontinuity.

Attributes

Remarks

Java documentation for android.media.VolumeShaper.replace(android.media.Configuration, android.media.Operation, boolean).

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