using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace XericLibrary.Runtime.WindowsSystem
{
///
/// SMTC Transport Protocol Example Library
///
///
/// SMTC是System Media Transport Controls的缩写,
/// 它是一组通用于所有Windows 10设备的控件,
/// 为用户提供一致的方法来控制使用MediaPlayer进行播放的所有正在运行的应用程序的媒体播放12。
///
public static class SMTC
{
//void aaa()
//{
// MediaPlayer mediaPlayer = new MediaPlayer();
// // 获取SMTC
// SystemMediaTransportControls smtc = SystemMediaTransportControls.GetForCurrentView();
// // 获取当前播放的媒体项的显示属性
// MediaItemDisplayProperties props = smtc.DisplayUpdater.MusicProperties;
// // 获取歌曲信息
// string title = props.Title;
// string artist = props.Artist;
// string albumArtist = props.AlbumArtist;
//}
}
}