This repository has been archived by the owner on May 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 506
/
nugetreadme.txt
46 lines (27 loc) · 1.41 KB
/
nugetreadme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
## Xamarin.Essentials
Thank you for installing Xamarin.Essentials, be sure to read through our full documentation at:
http:https://aka.ms/xamarinessentials
## Setup
Ensure that you install Xamarin.Essentials into all of your projects.
For Android projects there is a small amount of setup needed to handle permissions. Please follow our short guide at:
http:https://aka.ms/essentials-getstarted
## Changes for 0.9.0-preview
If you are upgrading from an earlier version there are a few changes to the API that may affect your code:
* Android: VersionTracking has been reset
* SensorSpeed.Ui is now SensorSpeed.UI
* BatteryPowerSource.Ac is now BatteryPowerSource.AC
* Change to generic EventHandlers for Accelerometer, Battery, Compass, Connectivity, Display Metrics, Magnetometer, OrientationSensor, Gyroscope, and Power.
* BrowserLaunchType is now BrowserLaunchMode
You may have registered an event handler for one of these:
Gyroscope.ReadingChanged += OnReadingChanged;
and then implemented the handler:
void OnReadingChanged(GyroscopeChangedEventArgs e)
{
}
Instead of using a custom EventHandler we now use EventHandler<T> which always pass in an object as the first parameter:
void OnReadingChanged(object sender, GyroscopeChangedEventArgs e)
{
}
See our full release notes: http:https://aka.ms/essentials-releasenotes
## Feedback, Issues, & Feature Requests
We would love to hear from you simply head to: http:https://aka.ms/essentialsfeedback