8 references to MainThread
Microsoft.Maui.Essentials (8)
Accelerometer\Accelerometer.shared.cs (2)
270
MainThread
.BeginInvokeOnMainThread(() => ReadingChanged?.Invoke(null, e));
295
MainThread
.BeginInvokeOnMainThread(() => ShakeDetected?.Invoke(null, args));
Barometer\Barometer.shared.cs (1)
190
MainThread
.BeginInvokeOnMainThread(() => ReadingChanged?.Invoke(this, args));
Compass\Compass.shared.cs (1)
313
MainThread
.BeginInvokeOnMainThread(() => ReadingChanged?.Invoke(null, args));
Connectivity\Connectivity.shared.cs (1)
120
MainThread
.BeginInvokeOnMainThread(() => ConnectivityChangedInternal?.Invoke(null, e));
Gyroscope\Gyroscope.shared.cs (1)
248
MainThread
.BeginInvokeOnMainThread(() => ReadingChanged?.Invoke(null, args));
Magnetometer\Magnetometer.shared.cs (1)
252
MainThread
.BeginInvokeOnMainThread(() => ReadingChanged?.Invoke(this, args));
OrientationSensor\OrientationSensor.shared.cs (1)
279
MainThread
.BeginInvokeOnMainThread(() => ReadingChanged?.Invoke(null, args));