Xamarin開発において端末APIにアクセスすることができる便利なクラス
こちを参照しました
https://docs.microsoft.com/en-us/xamarin/essentials/
すべてを使ったことがあるわけではありませんが、下記が一覧。むしろ使ったことないもののほうが多いので、使うときにまた別途詳しくまとめます。
Essentials
名前 | 概要 |
---|---|
Accelerometer | Retrieve acceleration data of the device in three-dimensional space. |
App Information | Find out information about the application. |
Barometer | Monitor the barometer for pressure changes. |
Battery | Easily detect battery level, source, and state. |
Clipboard | Quickly and easily set or read text on the clipboard. |
Color Converters | Helper methods for System.Drawing.Color. |
Compass | Monitor compass for changes. |
Connectivity | Check connectivity state and detect changes. |
Detect Shake | Detect a shaking movement of the device. |
Device Display Information | Get the device's screen metrics and orientation. |
Device Information | Find out about the device with ease. |
Easily send email messages. | |
File System Helpers | Easily save files to app data. |
Flashlight | A simple way to turn the flashlight on/off. |
Geocoding | Geocode and reverse geocode addresses and coordinates. |
Geolocation | Retrieve the device's GPS location. |
Gyroscope | Track rotation around the device's three primary axes. |
Launcher | Enables an application to open a URI by the system. |
Magnetometer | Detect device's orientation relative to Earth's magnetic field. |
MainThread | Run code on the application's main thread. |
Maps | Open the maps application to a specific location. |
Open Browser | Quickly and easily open a browser to a specific website. |
Orientation Sensor | Retrieve the orientation of the device in three-dimensional space. |
Phone Dialer | Open the phone dialer. |
Platform Extensions | Helper methods for converting Rect, Size, and Point. |
Preferences | Quickly and easily add persistent preferences. |
Secure Storage | Securely store data. |
Share | Send text and website uris to other apps. |
SMS | Create an SMS message for sending. |
Text-to-Speech | Vocalize text on the device. |
Unit Converters | Helper methods to convert units. |
Version Tracking | Track the applications version and build numbers. |
Vibrate | Make the device vibrate. |