平台支持

Xamarin.Essentials 支持以下平台和操作系统:

Platform Version
Android 4.4 (API 19) 或更高版本
iOS 10.0 或更高版本
Tizen 4.0 或更高版本
tvOS 10.0 或更高版本
watchOS 4.0 或更高版本
UWP 10.0.16299.0 或更高版本
macOS 10.12.6 (Sierra) 或更高版本

注意

  • Tizen 受到 Samsung 开发团队的官方支持。
  • tvOS 和 watchOS 具有有限的 API 覆盖范围,请参阅功能指南获取详细信息。
  • macOS 支持处于预览阶段。

功能支持

Xamarin.Essentials 总是试图为每个平台提供功能,但有时也会受到设备本身的限制。 下面是介绍每个平台支持哪些功能的指南。

图标指南:

  • Full Support - 完全支持
  • Limited Support - 有限支持
  • Not Supported - 不支持
功能 Android iOS UWP watchOS tvOS Tizen macOS
加速计 Android supported iOS supported UWP supported watchOS supported tvOS not supported Tizen supported macOS not supported
应用操作 Android supported iOS supported UWP supported watchOS not supported tvOS not supported Tizen not supported macOS not supported
应用信息 Android supported iOS supported UWP supported watchOS not supported tvOS supported Tizen supported macOS supported
应用主题 Android supported iOS supported UWP supported watchOS supported tvOS not supported Tizen supported macOS supported
Barometer Android supported iOS supported UWP supported watchOS supported tvOS not supported Tizen supported macOS not supported
Battery Android supported iOS supported UWP supported watchOS limited support tvOS not supported Tizen limited support macOS supported
剪贴板 Android supported iOS supported UWP supported watchOS not supported tvOS not supported Tizen not supported macOS supported
颜色转换器 Android supported iOS supported UWP supported watchOS supported tvOS supported Tizen supported macOS supported
Compass Android supported iOS supported UWP supported watchOS not supported tvOS not supported Tizen supported macOS not supported
Connectivity Android supported iOS supported UWP supported watchOS not supported tvOS supported Tizen supported macOS supported
联系人 Android supported iOS supported UWP supported watchOS not supported tvOS not supported Tizen supported macOS not supported
检测抖动 Android supported iOS supported UWP supported watchOS supported tvOS supported Tizen supported macOS not supported
设备显示信息 Android supported iOS supported UWP supported watchOS not supported tvOS not supported Tizen not supported macOS supported
设备信息 Android supported iOS supported UWP supported watchOS supported tvOS supported Tizen supported macOS supported
电子邮件 Android supported iOS supported UWP supported watchOS not supported tvOS not supported Tizen supported macOS supported
文件选取器 Android supported iOS supported UWP supported watchOS not supported tvOS not supported Tizen supported macOS supported
文件系统帮助程序 Android supported iOS supported UWP supported watchOS supported tvOS supported Tizen supported macOS supported
Flashlight Android supported iOS supported UWP supported watchOS not supported tvOS not supported Tizen supported macOS not supported
地理编码 Android supported iOS supported UWP supported watchOS supported tvOS supported Tizen supported macOS supported
地理位置 Android supported iOS supported UWP supported watchOS not supported tvOS not supported Tizen supported macOS supported
陀螺仪 Android supported iOS supported UWP supported watchOS supported tvOS not supported Tizen supported macOS not supported
Haptic 反馈 Android supported iOS supported UWP supported watchOS not supported tvOS not supported Tizen supported macOS supported
Launcher Android supported iOS supported UWP supported watchOS not supported tvOS not supported Tizen supported macOS supported
磁力仪 Android supported iOS supported UWP supported watchOS supported tvOS not supported Tizen supported macOS not supported
MainThread Android supported iOS supported UWP supported watchOS supported tvOS supported Tizen supported macOS supported
地图 Android supported iOS supported UWP supported watchOS supported tvOS not supported Tizen supported macOS supported
媒体选取器 Android supported iOS supported UWP supported watchOS not supported tvOS not supported Tizen supported macOS limited support
打开浏览器 Android supported iOS supported UWP supported watchOS not supported tvOS not supported Tizen supported macOS supported
方向传感器 Android supported iOS supported UWP supported watchOS supported tvOS not supported Tizen supported macOS not supported
权限 Android supported iOS supported UWP supported watchOS supported tvOS supported Tizen supported macOS supported
电话拨号程序 Android supported iOS supported UWP supported watchOS not supported tvOS not supported Tizen supported macOS supported
平台扩展 Android supported iOS supported UWP supported watchOS supported tvOS supported Tizen supported macOS supported
首选项 Android supported iOS supported UWP supported watchOS supported tvOS supported Tizen supported macOS supported
屏幕快照 Android supported iOS supported UWP supported watchOS not supported tvOS not supported Tizen not supported macOS not supported
安全存储 Android supported iOS supported UWP supported watchOS supported tvOS supported Tizen supported macOS supported
共享 Android supported iOS supported UWP supported watchOS not supported tvOS not supported Tizen supported macOS supported
短信 Android supported iOS supported UWP supported watchOS not supported tvOS not supported Tizen supported macOS supported
文本转语音 Android supported iOS supported UWP supported watchOS supported tvOS supported Tizen supported macOS supported
单位转换器 Android supported iOS supported UWP supported watchOS supported tvOS supported Tizen supported macOS supported
版本跟踪 Android supported iOS supported UWP supported watchOS supported tvOS supported Tizen supported macOS supported
Vibrate Android supported iOS supported UWP supported watchOS not supported tvOS not supported Tizen supported macOS not supported
Web 验证器 Android supported iOS supported UWP supported watchOS not supported tvOS supported Tizen not supported macOS supported