مشاركة عبر


BackgroundMediaPlayer.SendMessageToBackground(ValueSet) Method

Definition

Sends a message to the background media player.

Note

Starting with Windows, version 1703, BackgroundMediaPlayer is deprecated and may not be available in future versions of Windows. Use the MediaPlayer class instead. For more information, see Play media in the background.

public:
 static void SendMessageToBackground(ValueSet ^ value);
 static void SendMessageToBackground(ValueSet const& value);
/// [Windows.Foundation.Metadata.Deprecated("Use MediaPlayer instead of BackgroundMediaPlayer.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
 static void SendMessageToBackground(ValueSet const& value);
public static void SendMessageToBackground(ValueSet value);
[Windows.Foundation.Metadata.Deprecated("Use MediaPlayer instead of BackgroundMediaPlayer.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
public static void SendMessageToBackground(ValueSet value);
function sendMessageToBackground(value)
Public Shared Sub SendMessageToBackground (value As ValueSet)

Parameters

value
ValueSet

Set of values representing the message.

Attributes

Applies to