Share via


MediaMetadata.Title Property

Definition

Gets the title of the media.

public:
 property Platform::String ^ Title { Platform::String ^ get(); };
winrt::hstring Title();
public string Title { get; }
var string = mediaMetadata.title;
Public ReadOnly Property Title As String

Property Value

String

Platform::String

winrt::hstring

The media title.

Windows requirements

App capabilities
accessoryManager

Remarks

Calling this API requires that the ID_CAP_SMS and ID_CAP_SMS_COMPANION capabilities be specified in the application manifest.

Applies to