BackgroundAudioTrack.CreateFromFileAsync(IStorageFile) Méthode

Définition

Crée une piste audio en arrière-plan à partir d’un fichier 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)

Paramètres

file
IStorageFile

Objet StorageFile représentant le fichier audio source.

Retours

Nouvel objet de piste audio en arrière-plan contenant le contenu du fichier audio.

Attributs

S’applique à