Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

AudioTrack Constructor (Uri, String, String, String, Uri)

July 28, 2014

Creates and initializes a new instance of the AudioTrack class.

Namespace:  Microsoft.Phone.BackgroundAudio
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

public AudioTrack(
	Uri source,
	string title,
	string artist,
	string album,
	Uri albumArt
)

Parameters

source
Type: System.Uri
The URI path to the track. This can be a UriKind value or null if using streaming.
title
Type: System.String
The title of the track. This must be a non-empty string.
artist
Type: System.String
The artist of the track. This string can be empty or null.
album
Type: System.String
The album of the track. This string can be empty or null.
albumArt
Type: System.Uri
The URI path to the image used in the user interface—for example, in the Now Playing Tile. This can be null.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2014 Microsoft