Table of Contents

Enum NearbyActivityStopReason

Namespace
Plugin.Maui.NearbyConnectivity
Assembly
Plugin.Maui.NearbyConnectivity.dll

Why an activity stopped.

public enum NearbyActivityStopReason

Fields

Faulted = 1

The 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 = 0

This application stopped it, through StopAsync() or StopAllAsync().

Suspended = 2

The application was backgrounded and the platform tore the session down.

iOS only, for the reason described on AppSuspended.

Remarks

Carried by Reason.