SystemMediaTransportControlsDisplayUpdater.CopyFromFileAsync | copyFromFileAsync method

Applies to Windows and Windows Phone

Initialize the media properties using the specified file.

Syntax


public IAsyncOperation<bool> CopyFromFileAsync(
  MediaPlaybackType type, 
  StorageFile source
)

Parameters

type

Type: MediaPlaybackType

The type of media.

source

Type: StorageFile

The file to initialize the media properties.

Return value

Type: IAsyncOperation<Boolean>

When this method completes, it returns a boolean value that indicates true if the operation succeeded; otherwise, false.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.Media
Windows::Media [C++]

Metadata

Windows.winmd

See also

SystemMediaTransportControlsDisplayUpdater

 

 

Show:
© 2014 Microsoft. All rights reserved.