SHARE
TWEET

Windows Phone 8.1 Update 1 API Additions

snickler Aug 4th, 2014 4,454 Never
  1.  MetaDiff v0.1 https://github.com/WalkingCat/MetaDiff
  2.  
  3.  new file: Windows.ni (4).winmd
  4.  old file: Windows.ni (3).winmd
  5.  
  6.  diff legends: +: added, -: removed, *: changed, |: type member changed
  7.  
  8. + public class Windows.Phone.Notification.Management.AccessoryManager {
  9. +       public bool PhoneMute { get; set; }
  10. +       public PhoneCallAudioEndpoint PhoneCallAudioEndpoint { get; set; }
  11. +       public bool BatterySaverState { get; }
  12. +       public bool DoNotDisturbEnabled { get; }
  13. +       public bool DrivingModeEnabled { get; }
  14. +       public PlaybackCapability MediaPlaybackCapabilities { get; }
  15. +       public PlaybackStatus MediaPlaybackStatus { get; }
  16. +       public IVectorView<PhoneLineDetails> PhoneLineDetails { get; }
  17. +       public static string RegisterAccessoryApp();
  18. +       public static IAccessoryNotificationTriggerDetails GetNextTriggerDetails();
  19. +       public static void ProcessTriggerDetails( IAccessoryNotificationTriggerDetails pDetails );
  20. +       public static PhoneLineDetails GetPhoneLineDetails( Guid ppdetails );
  21. +       public static void AcceptPhoneCall( uint phoneCallId );
  22. +       public static void AcceptPhoneCall( uint phoneCallId, PhoneCallAudioEndpoint endPoint );
  23. +       public static void AcceptPhoneCallWithVideo( uint phoneCallId );
  24. +       public static void AcceptPhoneCallWithVideo( uint phoneCallId, PhoneCallAudioEndpoint endPoint );
  25. +       public static void RejectPhoneCall( uint phoneCallId );
  26. +       public static void RejectPhoneCall( uint phoneCallId, uint textResponseID );
  27. +       public static void MakePhoneCall( Guid phoneLine, string phoneNumber );
  28. +       public static void MakePhoneCall( Guid phoneLine, string phoneNumber, PhoneCallAudioEndpoint endPoint );
  29. +       public static void MakePhoneCallWithVideo( Guid phoneLine, string phoneNumber );
  30. +       public static void MakePhoneCallWithVideo( Guid phoneLine, string phoneNumber, PhoneCallAudioEndpoint endPoint );
  31. +       public static void SwapPhoneCalls( uint phoneCallIdToHold, uint phoneCallIdOnHold );
  32. +       public static void HoldPhoneCall( uint phoneCallId, bool holdCall );
  33. +       public static void EndPhoneCall( uint phoneCallId );
  34. +       public static void SnoozeAlarm( Guid alarmId );
  35. +       public static void SnoozeAlarm( Guid alarmId, TimeSpan timeSpan );
  36. +       public static void DismissAlarm( Guid alarmId );
  37. +       public static void SnoozeReminder( Guid reminderId );
  38. +       public static void SnoozeReminder( Guid reminderId, TimeSpan timeSpan );
  39. +       public static void DismissReminder( Guid reminderId );
  40. +       public static MediaMetadata GetMediaMetadata();
  41. +       public static void PerformMediaPlaybackCommand( PlaybackCommand command );
  42. +       public static IMapView<string, AppNotificationInfo> GetApps();
  43. +       public static void EnableNotificationsForApplication( string appId );
  44. +       public static void DisableNotificationsForApplication( string appId );
  45. +       public static bool IsNotificationEnabledForApplication( string enabled );
  46. +       public static int GetEnabledAccessoryNotificationTypes();
  47. +       public static void EnableAccessoryNotificationTypes( int accessoryNotificationTypes );
  48. +       public static void DisableAllAccessoryNotificationTypes();
  49. +       public static bool GetUserConsent();
  50. +       public static IRandomAccessStreamReference GetAppIcon( string returnValue );
  51. + }
  52.  
  53. + public enum Windows.Phone.Notification.Management.AccessoryNotificationType {
  54. +       None = 0,
  55. +       Phone = 1,
  56. +       Email = 2,
  57. +       Reminder = 4,
  58. +       Alarm = 8,
  59. +       Toast = 16,
  60. +       AppUninstalled = 32,
  61. +       Dnd = 64,
  62. +       DrivingMode = 128,
  63. +       BatterySaver = 256,
  64. +       Media = 512,
  65. +       CortanaTile = 1024,
  66. + }
  67.  
  68. + public class Windows.Phone.Notification.Management.AlarmNotificationTriggerDetails {
  69. +       public Guid AlarmId { get; }
  70. +       public ReminderState ReminderState { get; }
  71. +       public DateTime Timestamp { get; }
  72. +       public string Title { get; }
  73. +       public bool StartedProcessing { get; set; }
  74. +       public AccessoryNotificationType AccessoryNotificationType { get; }
  75. +       public string AppDisplayName { get; }
  76. +       public string AppId { get; }
  77. +       public DateTime TimeCreated { get; }
  78. + }
  79.  
  80. + public class Windows.Phone.Notification.Management.AppNotificationInfo {
  81. +       public string Id { get; }
  82. +       public string Name { get; }
  83. + }
  84.  
  85. + public class Windows.Phone.Notification.Management.CortanaTileNotificationTriggerDetails {
  86. +       public string Content { get; }
  87. +       public string EmphasizedText { get; }
  88. +       public string LargeContent1 { get; }
  89. +       public string LargeContent2 { get; }
  90. +       public string NonWrappedSmallContent1 { get; }
  91. +       public string NonWrappedSmallContent2 { get; }
  92. +       public string NonWrappedSmallContent3 { get; }
  93. +       public string NonWrappedSmallContent4 { get; }
  94. +       public string Source { get; }
  95. +       public string TileId { get; }
  96. +       public bool StartedProcessing { get; set; }
  97. +       public AccessoryNotificationType AccessoryNotificationType { get; }
  98. +       public string AppDisplayName { get; }
  99. +       public string AppId { get; }
  100. +       public DateTime TimeCreated { get; }
  101. + }
  102.  
  103. + public class Windows.Phone.Notification.Management.EmailNotificationTriggerDetails {
  104. +       public string AccountName { get; }
  105. +       public EmailMessage EmailMessage { get; }
  106. +       public string ParentFolderName { get; }
  107. +       public string SenderAddress { get; }
  108. +       public string SenderName { get; }
  109. +       public DateTime Timestamp { get; }
  110. +       public bool StartedProcessing { get; set; }
  111. +       public AccessoryNotificationType AccessoryNotificationType { get; }
  112. +       public string AppDisplayName { get; }
  113. +       public string AppId { get; }
  114. +       public DateTime TimeCreated { get; }
  115. + }
  116.  
  117. + internal interface Windows.Phone.Notification.Management.IAccessoryManager {
  118. +       public bool BatterySaverState { get; }
  119. +       public bool DoNotDisturbEnabled { get; }
  120. +       public bool DrivingModeEnabled { get; }
  121. +       public PlaybackCapability MediaPlaybackCapabilities { get; }
  122. +       public PlaybackStatus MediaPlaybackStatus { get; }
  123. +       public PhoneCallAudioEndpoint PhoneCallAudioEndpoint { get; set; }
  124. +       public IVectorView<PhoneLineDetails> PhoneLineDetails { get; }
  125. +       public bool PhoneMute { get; set; }
  126. +       public string RegisterAccessoryApp();
  127. +       public IAccessoryNotificationTriggerDetails GetNextTriggerDetails();
  128. +       public void ProcessTriggerDetails( IAccessoryNotificationTriggerDetails pDetails );
  129. +       public PhoneLineDetails GetPhoneLineDetails( Guid ppdetails );
  130. +       public void AcceptPhoneCall( uint phoneCallId );
  131. +       public void AcceptPhoneCall( uint phoneCallId, PhoneCallAudioEndpoint endPoint );
  132. +       public void AcceptPhoneCallWithVideo( uint phoneCallId );
  133. +       public void AcceptPhoneCallWithVideo( uint phoneCallId, PhoneCallAudioEndpoint endPoint );
  134. +       public void RejectPhoneCall( uint phoneCallId );
  135. +       public void RejectPhoneCall( uint phoneCallId, uint textResponseID );
  136. +       public void MakePhoneCall( Guid phoneLine, string phoneNumber );
  137. +       public void MakePhoneCall( Guid phoneLine, string phoneNumber, PhoneCallAudioEndpoint endPoint );
  138. +       public void MakePhoneCallWithVideo( Guid phoneLine, string phoneNumber );
  139. +       public void MakePhoneCallWithVideo( Guid phoneLine, string phoneNumber, PhoneCallAudioEndpoint endPoint );
  140. +       public void SwapPhoneCalls( uint phoneCallIdToHold, uint phoneCallIdOnHold );
  141. +       public void HoldPhoneCall( uint phoneCallId, bool holdCall );
  142. +       public void EndPhoneCall( uint phoneCallId );
  143. +       public void SnoozeAlarm( Guid alarmId );
  144. +       public void SnoozeAlarm( Guid alarmId, TimeSpan timeSpan );
  145. +       public void DismissAlarm( Guid alarmId );
  146. +       public void SnoozeReminder( Guid reminderId );
  147. +       public void SnoozeReminder( Guid reminderId, TimeSpan timeSpan );
  148. +       public void DismissReminder( Guid reminderId );
  149. +       public MediaMetadata GetMediaMetadata();
  150. +       public void PerformMediaPlaybackCommand( PlaybackCommand command );
  151. +       public IMapView<string, AppNotificationInfo> GetApps();
  152. +       public void EnableNotificationsForApplication( string appId );
  153. +       public void DisableNotificationsForApplication( string appId );
  154. +       public bool IsNotificationEnabledForApplication( string enabled );
  155. +       public int GetEnabledAccessoryNotificationTypes();
  156. +       public void EnableAccessoryNotificationTypes( int accessoryNotificationTypes );
  157. +       public void DisableAllAccessoryNotificationTypes();
  158. +       public bool GetUserConsent();
  159. +       public IRandomAccessStreamReference GetAppIcon( string returnValue );
  160. + }
  161.  
  162. + public interface Windows.Phone.Notification.Management.IAccessoryNotificationTriggerDetails {
  163. +       public AccessoryNotificationType AccessoryNotificationType { get; }
  164. +       public string AppDisplayName { get; }
  165. +       public string AppId { get; }
  166. +       public bool StartedProcessing { get; set; }
  167. +       public DateTime TimeCreated { get; }
  168. + }
  169.  
  170. + internal interface Windows.Phone.Notification.Management.IAlarmNotificationTriggerDetails {
  171. +       public Guid AlarmId { get; }
  172. +       public ReminderState ReminderState { get; }
  173. +       public DateTime Timestamp { get; }
  174. +       public string Title { get; }
  175. + }
  176.  
  177. + internal interface Windows.Phone.Notification.Management.IAppNotificationInfo {
  178. +       public string Id { get; }
  179. +       public string Name { get; }
  180. + }
  181.  
  182. + internal interface Windows.Phone.Notification.Management.ICortanaTileNotificationTriggerDetails {
  183. +       public string Content { get; }
  184. +       public string EmphasizedText { get; }
  185. +       public string LargeContent1 { get; }
  186. +       public string LargeContent2 { get; }
  187. +       public string NonWrappedSmallContent1 { get; }
  188. +       public string NonWrappedSmallContent2 { get; }
  189. +       public string NonWrappedSmallContent3 { get; }
  190. +       public string NonWrappedSmallContent4 { get; }
  191. +       public string Source { get; }
  192. +       public string TileId { get; }
  193. + }
  194.  
  195. + internal interface Windows.Phone.Notification.Management.IEmailNotificationTriggerDetails {
  196. +       public string AccountName { get; }
  197. +       public EmailMessage EmailMessage { get; }
  198. +       public string ParentFolderName { get; }
  199. +       public string SenderAddress { get; }
  200. +       public string SenderName { get; }
  201. +       public DateTime Timestamp { get; }
  202. + }
  203.  
  204. + internal interface Windows.Phone.Notification.Management.IMediaControlsTriggerDetails {
  205. +       public MediaMetadata MediaMetadata { get; }
  206. +       public PlaybackStatus PlaybackStatus { get; }
  207. + }
  208.  
  209. + internal interface Windows.Phone.Notification.Management.IMediaMetadata {
  210. +       public string Album { get; }
  211. +       public string Artist { get; }
  212. +       public TimeSpan Duration { get; }
  213. +       public string Subtitle { get; }
  214. +       public IRandomAccessStreamReference Thumbnail { get; }
  215. +       public string Title { get; }
  216. +       public uint Track { get; }
  217. + }
  218.  
  219. + internal interface Windows.Phone.Notification.Management.IPhoneCallDetails {
  220. +       public PhoneCallDirection CallDirection { get; }
  221. +       public uint CallId { get; }
  222. +       public PhoneMediaType CallMediaType { get; }
  223. +       public PhoneCallTransport CallTransport { get; }
  224. +       public uint ConferenceCallId { get; }
  225. +       public string ContactName { get; }
  226. +       public DateTime EndTime { get; }
  227. +       public Guid PhoneLine { get; }
  228. +       public string PhoneNumber { get; }
  229. +       public IVectorView<TextResponse> PresetTextResponses { get; }
  230. +       public DateTime StartTime { get; }
  231. +       public PhoneCallState State { get; }
  232. + }
  233.  
  234. + internal interface Windows.Phone.Notification.Management.IPhoneLineDetails {
  235. +       public bool DefaultOutgoingLine { get; }
  236. +       public string DisplayName { get; }
  237. +       public Guid LineId { get; }
  238. +       public string LineNumber { get; }
  239. +       public PhoneLineRegistrationState RegistrationState { get; }
  240. +       public uint VoicemailCount { get; }
  241. + }
  242.  
  243. + internal interface Windows.Phone.Notification.Management.IPhoneNotificationTriggerDetails {
  244. +       public PhoneCallDetails CallDetails { get; }
  245. +       public Guid PhoneLineChangedId { get; }
  246. +       public PhoneNotificationType PhoneNotificationType { get; }
  247. + }
  248.  
  249. + internal interface Windows.Phone.Notification.Management.IReminderNotificationTriggerDetails {
  250. +       public Appointment Appointment { get; }
  251. +       public string Description { get; }
  252. +       public string Details { get; }
  253. +       public Guid ReminderId { get; }
  254. +       public ReminderState ReminderState { get; }
  255. +       public DateTime Timestamp { get; }
  256. +       public string Title { get; }
  257. + }
  258.  
  259. + internal interface Windows.Phone.Notification.Management.ITextResponse {
  260. +       public string Content { get; }
  261. +       public uint Id { get; }
  262. + }
  263.  
  264. + internal interface Windows.Phone.Notification.Management.IToastNotificationTriggerDetails {
  265. +       public bool SuppressPopup { get; }
  266. +       public string Text1 { get; }
  267. +       public string Text2 { get; }
  268. +       public string Text3 { get; }
  269. +       public string Text4 { get; }
  270. + }
  271.  
  272. + public class Windows.Phone.Notification.Management.MediaControlsTriggerDetails {
  273. +       public MediaMetadata MediaMetadata { get; }
  274. +       public PlaybackStatus PlaybackStatus { get; }
  275. +       public bool StartedProcessing { get; set; }
  276. +       public AccessoryNotificationType AccessoryNotificationType { get; }
  277. +       public string AppDisplayName { get; }
  278. +       public string AppId { get; }
  279. +       public DateTime TimeCreated { get; }
  280. + }
  281.  
  282. + public class Windows.Phone.Notification.Management.MediaMetadata {
  283. +       public string Album { get; }
  284. +       public string Artist { get; }
  285. +       public TimeSpan Duration { get; }
  286. +       public string Subtitle { get; }
  287. +       public IRandomAccessStreamReference Thumbnail { get; }
  288. +       public string Title { get; }
  289. +       public uint Track { get; }
  290. + }
  291.  
  292. + public enum Windows.Phone.Notification.Management.PhoneCallAudioEndpoint {
  293. +       Default = 0,
  294. +       Speaker = 1,
  295. +       Handsfree = 2,
  296. + }
  297.  
  298. + public class Windows.Phone.Notification.Management.PhoneCallDetails {
  299. +       public PhoneCallDirection CallDirection { get; }
  300. +       public uint CallId { get; }
  301. +       public PhoneMediaType CallMediaType { get; }
  302. +       public PhoneCallTransport CallTransport { get; }
  303. +       public uint ConferenceCallId { get; }
  304. +       public string ContactName { get; }
  305. +       public DateTime EndTime { get; }
  306. +       public Guid PhoneLine { get; }
  307. +       public string PhoneNumber { get; }
  308. +       public IVectorView<TextResponse> PresetTextResponses { get; }
  309. +       public DateTime StartTime { get; }
  310. +       public PhoneCallState State { get; }
  311. + }
  312.  
  313. + public enum Windows.Phone.Notification.Management.PhoneCallDirection {
  314. +       Incoming = 0,
  315. +       Outgoing = 1,
  316. + }
  317.  
  318. + public enum Windows.Phone.Notification.Management.PhoneCallState {
  319. +       Unknown = 0,
  320. +       Ringing = 1,
  321. +       Talking = 2,
  322. +       Held = 3,
  323. +       Ended = 4,
  324. + }
  325.  
  326. + public enum Windows.Phone.Notification.Management.PhoneCallTransport {
  327. +       Cellular = 0,
  328. +       Voip = 1,
  329. + }
  330.  
  331. + public class Windows.Phone.Notification.Management.PhoneLineDetails {
  332. +       public bool DefaultOutgoingLine { get; }
  333. +       public string DisplayName { get; }
  334. +       public Guid LineId { get; }
  335. +       public string LineNumber { get; }
  336. +       public PhoneLineRegistrationState RegistrationState { get; }
  337. +       public uint VoicemailCount { get; }
  338. + }
  339.  
  340. + public enum Windows.Phone.Notification.Management.PhoneLineRegistrationState {
  341. +       Disconnected = 0,
  342. +       Home = 1,
  343. +       Roaming = 2,
  344. + }
  345.  
  346. + public enum Windows.Phone.Notification.Management.PhoneMediaType {
  347. +       AudioOnly = 0,
  348. +       AudioVideo = 1,
  349. + }
  350.  
  351. + public class Windows.Phone.Notification.Management.PhoneNotificationTriggerDetails {
  352. +       public PhoneCallDetails CallDetails { get; }
  353. +       public Guid PhoneLineChangedId { get; }
  354. +       public PhoneNotificationType PhoneNotificationType { get; }
  355. +       public bool StartedProcessing { get; set; }
  356. +       public AccessoryNotificationType AccessoryNotificationType { get; }
  357. +       public string AppDisplayName { get; }
  358. +       public string AppId { get; }
  359. +       public DateTime TimeCreated { get; }
  360. + }
  361.  
  362. + public enum Windows.Phone.Notification.Management.PhoneNotificationType {
  363. +       NewCall = 0,
  364. +       CallChanged = 1,
  365. +       LineChanged = 2,
  366. +       PhoneCallAudioEndpointChanged = 3,
  367. +       PhoneMuteChanged = 4,
  368. + }
  369.  
  370. + public enum Windows.Phone.Notification.Management.PlaybackCapability {
  371. +       None = 0,
  372. +       Play = 1,
  373. +       Pause = 2,
  374. +       Stop = 4,
  375. +       Record = 8,
  376. +       FastForward = 16,
  377. +       Rewind = 32,
  378. +       Next = 64,
  379. +       Previous = 128,
  380. +       ChannelUp = 256,
  381. +       ChannelDown = 512,
  382. + }
  383.  
  384. + public enum Windows.Phone.Notification.Management.PlaybackCommand {
  385. +       Play = 0,
  386. +       Pause = 1,
  387. +       Stop = 2,
  388. +       Record = 3,
  389. +       FastForward = 4,
  390. +       Rewind = 5,
  391. +       Next = 6,
  392. +       Previous = 7,
  393. +       ChannelUp = 8,
  394. +       ChannelDown = 9,
  395. + }
  396.  
  397. + public enum Windows.Phone.Notification.Management.PlaybackStatus {
  398. +       None = 0,
  399. +       TrackChanged = 1,
  400. +       Stopped = 2,
  401. +       Playing = 3,
  402. +       Paused = 4,
  403. + }
  404.  
  405. + public class Windows.Phone.Notification.Management.ReminderNotificationTriggerDetails {
  406. +       public bool StartedProcessing { get; set; }
  407. +       public AccessoryNotificationType AccessoryNotificationType { get; }
  408. +       public string AppDisplayName { get; }
  409. +       public string AppId { get; }
  410. +       public DateTime TimeCreated { get; }
  411. +       public Appointment Appointment { get; }
  412. +       public string Description { get; }
  413. +       public string Details { get; }
  414. +       public Guid ReminderId { get; }
  415. +       public ReminderState ReminderState { get; }
  416. +       public DateTime Timestamp { get; }
  417. +       public string Title { get; }
  418. + }
  419.  
  420. + public enum Windows.Phone.Notification.Management.ReminderState {
  421. +       Active = 0,
  422. +       Snoozed = 1,
  423. +       Dismissed = 2,
  424. + }
  425.  
  426. + public class Windows.Phone.Notification.Management.TextResponse {
  427. +       public string Content { get; }
  428. +       public uint Id { get; }
  429. + }
  430.  
  431. + public class Windows.Phone.Notification.Management.ToastNotificationTriggerDetails {
  432. +       public bool StartedProcessing { get; set; }
  433. +       public AccessoryNotificationType AccessoryNotificationType { get; }
  434. +       public string AppDisplayName { get; }
  435. +       public string AppId { get; }
  436. +       public DateTime TimeCreated { get; }
  437. +       public bool SuppressPopup { get; }
  438. +       public string Text1 { get; }
  439. +       public string Text2 { get; }
  440. +       public string Text3 { get; }
  441. +       public string Text4 { get; }
  442. + }
RAW Paste Data
Top