Bagikan melalui


BackgroundAudioTrack.CreateFromFileAsync(IStorageFile) Metode

Definisi

Membuat trek audio latar belakang dari file audio.

public:
 static IAsyncOperation<BackgroundAudioTrack ^> ^ CreateFromFileAsync(IStorageFile ^ file);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<BackgroundAudioTrack> CreateFromFileAsync(IStorageFile const& file);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<BackgroundAudioTrack> CreateFromFileAsync(IStorageFile file);
function createFromFileAsync(file)
Public Shared Function CreateFromFileAsync (file As IStorageFile) As IAsyncOperation(Of BackgroundAudioTrack)

Parameter

file
IStorageFile

Objek StorageFile yang mewakili file audio sumber.

Mengembalikan

Objek trek audio latar belakang baru yang berisi konten file audio.

Atribut

Berlaku untuk