Enum NearbyConsentPolicy
- Namespace
- Plugin.Maui.NearbyConnectivity
- Assembly
- Plugin.Maui.NearbyConnectivity.dll
What the session does with an inbound connection request when no per-device decision is made.
public enum NearbyConsentPolicy
Fields
AcceptAll = 1Every request the session receives is accepted.
The device never reports RequestReceived; it moves straight to Connected on DeviceChanged.
Hold = 0The request stays outstanding for the application to answer. This is the default.
The device reports RequestReceived and carries the request on Request, answerable until it is accepted, declined, or its offer window elapses.
RejectAll = 2Every request the session receives is declined.