Udostępnij za pośrednictwem


IVolumeAutomation.CreateVolumeShaper(VolumeShaper+Configuration) Method

Definition

Returns a VolumeShaper object that can be used modify the volume envelope of the player or track.

[Android.Runtime.Register("createVolumeShaper", "(Landroid/media/VolumeShaper$Configuration;)Landroid/media/VolumeShaper;", "GetCreateVolumeShaper_Landroid_media_VolumeShaper_Configuration_Handler:Android.Media.IVolumeAutomationInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)]
public Android.Media.VolumeShaper CreateVolumeShaper (Android.Media.VolumeShaper.Configuration configuration);
[<Android.Runtime.Register("createVolumeShaper", "(Landroid/media/VolumeShaper$Configuration;)Landroid/media/VolumeShaper;", "GetCreateVolumeShaper_Landroid_media_VolumeShaper_Configuration_Handler:Android.Media.IVolumeAutomationInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)>]
abstract member CreateVolumeShaper : Android.Media.VolumeShaper.Configuration -> Android.Media.VolumeShaper

Parameters

configuration
VolumeShaper.Configuration

the VolumeShaper.Configuration configuration that specifies the curve and duration to use.

Returns

a VolumeShaper object

Attributes

Remarks

Java documentation for android.media.VolumeAutomation.createVolumeShaper(android.media.Configuration).

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