Class NotificationsPermissionRequest
Track the status of notification permission request. Can be returned from coroutine to suspend it until request is either granted or denied. Permission can be granted or denied immediately, if this isn't the first request.
Implements
Inherited Members
CustomYieldInstruction.MoveNext()
CustomYieldInstruction.Reset()
CustomYieldInstruction.Current
Namespace: Unity.Notifications
Assembly: Unity.Notifications.Unified.dll
Syntax
public class NotificationsPermissionRequest : CustomYieldInstruction, IEnumerator
Properties
Status
Returns a status of this request.
Declaration
public NotificationsPermissionStatus Status { get; }
Property Value
Type | Description |
---|---|
NotificationsPermissionStatus |
keepWaiting
Overridden property of base class. Indicates if coroutine should be suspended.
Declaration
public override bool keepWaiting { get; }
Property Value
Type | Description |
---|---|
bool |