2)Win10-UWA开发 API參考 - 1
孙广东 2015.8.23
大多数 Windows 执行时 API 如今适用于 Windows Phone 应用商店应用以及 Windows 应用商店应用,这意味着当你创建同一时候面向 Windows 和 Windows Phone 设备的应用时,能够共享很多其它代码。除了 Windows 执行时 API,还基于所选的语言和 UI 框架(以供应用商店应用使用)提供其它 API。
以下列出了每种类型的应用商店应用支持的 API。
创建 Windows 应用商店应用、Windows Phone 应用商店应用还是 Universal Windows App?
对于 C#/Visual Basic 和 XAML,请使用:
• Windows 执行时 API
• Windows 执行时应用的 .NET
一、Windows 执行时应用的 Windows API 參考
- 了解 Windows 执行时应用的 Windows API:Windows 执行时和 WinJS。
在本文中
存在两组用于构建 Windows 执行时应用的 API:Windows 执行时和 WinJS。
Windows 执行时这些 JavaScript、C#、Visual Basic 和 C++ API 提供对全部核心平台功能的訪问。
命名空间使用 API 元数据格式 (Windows.winmd) 公开。这相似于 .NET Framework (Ecma-335) 使用的方法。
WinJS这些 JavaScript API 提供控件、CSS 样式以及帮助编写面向对象代码的帮助程序函数。WinJS 命名空间包括相似于 Windows 执行时中 Windows.UI.Xaml 命名空间的功能。
在应用中引用这些 JavaScript 文件时,必须首先加入 base.js,然后加入 ui.js。
仅限 Windows 执行时应用: 以 HTML 或 XAML 元素形式表示的 Windows 应用商店应用 API 仅在 Windows 执行时应用中受支持。而在桌面应用或浏览器中不受支持。
核心
- Windows.ApplicationModel
- Windows.ApplicationModel.Activation
- Windows.ApplicationModel.AppService
- Windows.ApplicationModel.Background
- Windows.ApplicationModel.Core
- Windows.ApplicationModel.LockScreen
- Windows.ApplicationModel.Resources
- Windows.ApplicationModel.Resources.Core
- Windows.ApplicationModel.Resources.Management
- Windows.ApplicationModel.Search
- Windows.ApplicationModel.Search.Core
- Windows.ApplicationModel.Store
- Windows.Foundation
- Windows.Foundation.Collections
- Windows.Foundation.Diagnostics
- Windows.Foundation.Metadata
- Windows.Foundation.Numerics
- Windows.Management.Core
- Windows.Management.Deployment
- Windows.System
- Windows.System.Diagnostics
- Windows.System.Display
- Windows.System.Power
- Windows.System.Power.Diagnostics
- Windows.System.Profile
- Windows.System.Profile.SystemManufacturers
- Windows.System.RemoteDesktop
- Windows.System.Threading
- Windows.System.Threading.Core
- Windows.System.UserProfile
- Windows.UI.Core
- Windows.UI.ViewManagement
- Windows.UI.WebUI
- Windows.UI.Xaml
- WinJS
- WinJS.Application
- WinJS.Resources
- WinJS.Utilities.Scheduler
控件
- Windows.Storage.Pickers
- Windows.UI.Xaml.Controls
- Windows.UI.Xaml.Controls.Maps
- Windows.UI.Xaml.Controls.Primitives
- Windows.UI.Xaml.Media.Animation
- WinJS.UI
数据和内容
- Windows.ApplicationModel.DataTransfer
- Windows.ApplicationModel.DataTransfer.DragDrop
- Windows.ApplicationModel.DataTransfer.DragDrop.Core
- Windows.ApplicationModel.DataTransfer.ShareTarget
- Windows.ApplicationModel.UserDataAccounts
- Windows.ApplicationModel.UserDataAccounts.SystemAccess
- Windows.ApplicationModel.Wallet
- Windows.ApplicationModel.Wallet.System
- Windows.Data.Html
- Windows.Data.Json
- Windows.Data.Pdf
- Windows.Data.Text
- Windows.Data.Xml.Dom
- Windows.Data.Xml.Xsl
- Windows.Services.Maps
- Windows.Services.Maps.Guidance
- Windows.Services.Maps.LocalSearch
- Windows.UI.Xaml.Data
- Windows.UI.Xaml.Documents
- WinJS.Binding
设备
- Windows.Devices.Alljoyn
- Windows.Devices.Background
- Windows.Devices.Bluetooth.Advertisement
- Windows.Devices.Bluetooth.GenericAttributeProfile
- Windows.Devices.Bluetooth.Rfcomm
- Windows.Devices.Custom
- Windows.Devices.Enumeration
- Windows.Devices.Enumeration.Pnp
- Windows.Devices.Geolocation
- Windows.Devices.Geolocation.Geofencing
- Windows.Devices.Gpio
- Windows.Devices.HumanInterfaceDevice
- Windows.Devices.I2c
- Windows.Devices.Input
- Windows.Devices.Lights
- Windows.Devices.Midi
- Windows.Devices.PointOfService
- Windows.Devices.Portable
- Windows.Devices.Power
- Windows.Devices.Printers
- Windows.Devices.Printers.Extensions
- Windows.Devices.Radios
- Windows.Devices.Scanners
- Windows.Devices.Sensors
- Windows.Devices.Sensors.Custom
- Windows.Devices.SerialCommunication
- Windows.Devices.SmartCards
- Windows.Devices.Sms
- Windows.Devices.Spi
- Windows.Devices.Usb
- Windows.Devices.WiFi
- Windows.Devices.WiFiDirect
- Windows.Devices.WiFiDirect.Services
- Windows.Media.Devices
- Windows.Networking.Proximity
- Windows.System.Profile.SystemManufacturers
文件和目录
- Windows.Storage
- Windows.Storage.AccessCache
- Windows.Storage.BulkAccess
- Windows.Storage.Compression
- Windows.Storage.FileProperties
- Windows.Storage.Pickers
- Windows.Storage.Pickers.Provider
- Windows.Storage.Provider
- Windows.Storage.Search
- Windows.Storage.Streams
全球化
- Windows.Globalization
- Windows.Globalization.Collation
- Windows.Globalization.DateTimeFormatting
- Windows.Globalization.Fonts
- Windows.Globalization.NumberFormatting
图形
- Windows.Graphics.DirectX
- Windows.Graphics.DirectX.Direct3D11
- Windows.Graphics.Display
- Windows.Graphics.Imaging
- Windows.UI.Xaml.Media
- Windows.UI.Xaml.Media.Animation
- Windows.UI.Xaml.Media.Imaging
- Windows.UI.Xaml.Shapes
帮助程序
- Windows.UI.Xaml.Hosting
- Windows.UI.Xaml.Interop
- Windows.UI.Xaml.Markup
- Windows.UI.Xaml.Resources
- WinJS.Class
- WinJS.Namespace
- WinJS.Utilities
媒体
- Windows.Media
- Windows.Media.Audio
- Windows.Media.Capture
- Windows.Media.Capture.Core
- Windows.Media.Casting
- Windows.Media.ClosedCaptioning
- Windows.Media.ContentRestrictions
- Windows.Media.Core
- Windows.Media.Devices
- Windows.Media.Devices.Core
- Windows.Media.DialProtocol
- Windows.Media.Editing
- Windows.Media.Effects
- Windows.Media.FaceAnalysis
- Windows.Media.MediaProperties
- Windows.Media.Ocr
- Windows.Media.Playback
- Windows.Media.Playlists
- Windows.Media.PlayTo
- Windows.Media.Protection
- Windows.Media.Protection.PlayReady
- Windows.Media.SpeechSynthesis
- Windows.Media.SpeechRecognition
- Windows.Media.Streaming.Adaptive
- Windows.Media.Transcoding
- Windows.UI.Xaml.Media
网络
- Windows.Networking
- Windows.Networking.BackgroundTransfer
- Windows.Networking.Connectivity
- Windows.Networking.NetworkOperators
- Windows.Networking.Proximity
- Windows.Networking.PushNotifications
- Windows.Networking.ServiceDiscovery.Dnssd
- Windows.Networking.Sockets
- Windows.Networking.Vpn
- Windows.Web
- Windows.Web.AtomPub
- Windows.Web.Http
- Windows.Web.Http.Diagnostics
- Windows.Web.Http.Filters
- Windows.Web.Http.Headers
- Windows.Web.Syndication
打印
- Windows.Graphics.Printing
- Windows.Graphics.Printing.OptionDetails
- Windows.Graphics.Printing3d
- Windows.UI.Xaml.Printing
演示
- Windows.UI
- Windows.UI.ApplicationSettings
- Windows.UI.Composition
- Windows.UI.Core
- Windows.UI.Core.AnimationMetrics
- Windows.UI.Notifications
- Windows.UI.Popups
- Windows.UI.StartScreen
- Windows.UI.Text
- Windows.UI.Text.Core
- Windows.UI.ViewManagement
- Windows.UI.WebUI
- Windows.UI.Xaml
- Windows.UI.Xaml.Controls
- Windows.UI.Xaml.Controls.Maps
- Windows.UI.Xaml.Controls.Primitives
- Windows.UI.Xaml.Documents
- Windows.UI.Xaml.Media.Animation
- Windows.UI.Xaml.Media.Media3D
- Windows.UI.Xaml.Navigation
- WinJS.Navigation
- WinJS.UI
- WinJS.UI.Animation
- WinJS.UI.Fragments
- WinJS.UI.Pages
远程桌面
安全
- Windows.Security.Authentication.OnlineId
- Windows.Security.Authentication.Web
- Windows.Security.Authentication.Web.Core
- Windows.Security.Authentication.Web.Provider
- Windows.Security.Credentials
- Windows.Security.Credentials.UI
- Windows.Security.Cryptography
- Windows.Security.Cryptography.Certificates
- Windows.Security.Cryptography.Core
- Windows.Security.Cryptography.DataProtection
- Windows.Security.EnterpriseData
- Windows.Security.ExchangeActiveSyncProvisioning
社交
- Windows.ApplicationModel.Appointments
- Windows.ApplicationModel.Appointments.AppointmentsProvider
- Windows.ApplicationModel.Calls
- Windows.ApplicationModel.Calls.Background
- Windows.ApplicationModel.Calls.Provider
- Windows.ApplicationModel.Chat
- Windows.ApplicationModel.CommunicationBlocking
- Windows.ApplicationModel.Contacts
- Windows.ApplicationModel.Contacts.Provider
- Windows.ApplicationModel.Email
- Windows.ApplicationModel.SocialInfo
- Windows.ApplicationModel.SocialInfo.Provider
UI 自己主动化
- Windows.UI.Xaml.Automation
- Windows.UI.Xaml.Automation.Peers
- Windows.UI.Xaml.Automation.Provider
- Windows.UI.Xaml.Automation.Text
用户交互
2)Win10-UWA开发 API參考 - 1的更多相关文章
- 3)Win10-UWA开发 API參考 - 2
孙广东 2015.8.23 二.适用于 UWP 应用的 .NET 摘要 适用于 UWP 应用的 .NET 提供一组托管类型.你能够利用这组托管类型通过 C# 或 Visual Basic 创建 ...
- swift初探(供objective c开发人员參考)
6月初的wwdc苹果推出了一门新的开发语言swift.系统10.9.3以上安装xcode6 beta版就可以体验swift. 苹果公司做了尽可能多的努力让这门语言迅速成为一个工业级的有用编程语言,而不 ...
- 基于TI Davinci架构的多核/双核开发高速扫盲(以OMAP L138为例),dm8168多核开发參考以及达芬奇系列资料user guide整理
基于TI Davinci架构的双核嵌入式应用处理器OMAPL138开发入门 原文转自http://blog.csdn.net/wangpengqi/article/details/8115614 感谢 ...
- Unity开发规范(个人习惯,仅供參考)
近期整理了一下unity里的文件夹使用和脚本上的一些规范,这个看个人习惯,仅供參考 1.unity中的Project文件夹 总体文件夹大致例如以下: 按资源种类分目录. ...
- 6. GC 调优(工具篇) - GC參考手冊
进行GC性能调优时, 须要明白了解, 当前的GC行为对系统和用户有多大的影响. 有多种监控GC的工具和方法, 本章将逐一介绍经常使用的工具. 您应该已经阅读了前面的章节: 垃圾收集简单介绍 - GC參 ...
- Win10 UWP开发系列:使用VS2015 Update2+ionic开发第一个Cordova App
安装VS2015 Update2的过程是非常曲折的.还好经过不懈的努力,终于折腾成功了. 如果开发Cordova项目的话,推荐大家用一下ionic这个框架,效果还不错.对于Cordova.PhoneG ...
- Win10/UWP开发—使用Cortana语音与App后台Service交互
上篇文章中我们介绍了使用Cortana调用前台App,不熟悉的移步到:Win10/UWP开发—使用Cortana语音指令与App的前台交互,这篇我们讲讲如何使用Cortana调用App的后台任务,相比 ...
- Win 10 开发中Adaptive磁贴模板的XML文档结构,Win10 应用开发中自适应Toast通知的XML文档结构
分享两篇Win 10应用开发的XML文档结构:Win 10 开发中Adaptive磁贴模板的XML文档结构,Win10 应用开发中自适应Toast通知的XML文档结构. Win 10 开发中Adapt ...
- ANTLR4权威參考手冊(一)
写在前面的话: 此文档是对伟大的Terence Parr的著作<the definitive antlr4 reference>的翻译本.致敬!欢迎转载,请注明原地址,请尊重劳动成果.翻译 ...
随机推荐
- FastDFS原理系列文章
FastDFS原理系列文章 基于FastDFS 5.03/5.04 2014-12-19 一.概述 FastDFS文档极少,仅仅能找到一些宽泛的架构文档,以及ChinaUnix论坛上作者对网友提问的一 ...
- 【HNOI 2004】宠物收养所
[题目链接] https://www.lydsy.com/JudgeOnline/problem.php?id=1208 [算法] 建两棵平衡树维护领养者和宠物的特点值,这两棵平衡树支持 插入删除,查 ...
- QEMU/KVM磁盘在线备份
QEMU/KVM磁盘的在线完整及增量备份,是"打包"方案的一种具体实现,可实现基于时间点的备份,同时支持本地与远程2种备份方式,并可指定备份文件进行恢复. tag: qemu, k ...
- 整理windows相关软件的环境变量
java: JAVA_HOME [安装java的home目录] PATH [在最后添加] ;%JAVA_HOME%\bin; CLASSPATH [文本框的起始位 ...
- SQL Server 忘记登录账号解决方法
[1] 停止SQL Server 服务 和 SQL Server Agent 服务 [2] 以管理员身份打开命令行,单用户模式启动服务.(在单用户模式下启动 SQL Server 可使计算机本地 Ad ...
- rel= "noopener"
rel= "noopener" <a href= "https://www.xiaogezi.cn/" target= "_blank" ...
- 高德SDK获取到的坐标转换为GPS真实坐标方法,Java版
发现高德SDK不提供高德的坐标转GPS坐标(GCJ_02转WGS_84),下面是一份Java版的 /**************************** 文件名:GCJ2WGS.java 创建时间 ...
- ZBrush中Pinch捏挤笔刷介绍
随着版本的升级ZBrush®中给我们提供了越来越多的笔刷,对于这款软件来说,笔刷的使用是第一要素,也会一直伴随我们创作.虽然Zbrush中有那么多的笔刷,但是很多朋友会根据自己的习惯来使用,这个并不是 ...
- Python多线程原理与实现
Date: 2019-06-04 Author: Sun Python多线程原理与实战 目的: (1)了解python线程执行原理 (2)掌握多线程编程与线程同步 (3)了解线程池的使用 1 线程基本 ...
- 如何使用 GNOME Shell 扩展
如何使用 GNOME Shell 扩展 作者: Abhishek Prakash 译者: LCTT MjSeven | 2018-03-15 10:53 评论: 1 简介:这是一份详细指南,我将会 ...