Enum NearbyActivityStopReason
- Namespace
- Plugin.Maui.NearbyConnectivity
- Assembly
- Plugin.Maui.NearbyConnectivity.dll
Why an activity stopped.
public enum NearbyActivityStopReason
Fields
Faulted = 1The platform ended it: the radio was turned off, a permission was revoked, or the platform returned an error.
Error carries the fault. Call CheckAvailabilityAsync(CancellationToken) to find what now blocks a restart.
Requested = 0This application stopped it, through StopAsync() or StopAllAsync().
Suspended = 2The application was backgrounded and the platform tore the session down.
iOS only, for the reason described on AppSuspended.
Remarks
Carried by Reason.