Condividi tramite


BackgroundAudioTrack.CreateFromFileAsync(IStorageFile) Metodo

Definizione

Crea una traccia audio in background da un 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)

Parametri

file
IStorageFile

Oggetto StorageFile che rappresenta il file audio di origine.

Restituisce

Nuovo oggetto traccia audio in background contenente il contenuto del file audio.

Attributi

Si applica a