Compartir a través de


SoundPool.LoadAsync Method

Definition

Overloads

LoadAsync(AssetFileDescriptor, Int32)
LoadAsync(String, Int32)
LoadAsync(Context, Int32, Int32)
LoadAsync(FileDescriptor, Int64, Int64, Int32)

LoadAsync(AssetFileDescriptor, Int32)

public System.Threading.Tasks.Task<int> LoadAsync (Android.Content.Res.AssetFileDescriptor? afd, int priority);
member this.LoadAsync : Android.Content.Res.AssetFileDescriptor * int -> System.Threading.Tasks.Task<int>

Parameters

priority
Int32

Returns

Remarks

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

LoadAsync(String, Int32)

public System.Threading.Tasks.Task<int> LoadAsync (string? path, int priority);
member this.LoadAsync : string * int -> System.Threading.Tasks.Task<int>

Parameters

path
String
priority
Int32

Returns

Remarks

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

LoadAsync(Context, Int32, Int32)

public System.Threading.Tasks.Task<int> LoadAsync (Android.Content.Context? context, int resId, int priority);
member this.LoadAsync : Android.Content.Context * int * int -> System.Threading.Tasks.Task<int>

Parameters

context
Context
resId
Int32
priority
Int32

Returns

Remarks

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

LoadAsync(FileDescriptor, Int64, Int64, Int32)

public System.Threading.Tasks.Task<int> LoadAsync (Java.IO.FileDescriptor? fd, long offset, long length, int priority);
member this.LoadAsync : Java.IO.FileDescriptor * int64 * int64 * int -> System.Threading.Tasks.Task<int>

Parameters

offset
Int64
length
Int64
priority
Int32

Returns

Remarks

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