Constructor AuthorizationRequest
AuthorizationRequest(AuthorizationOption, bool)
Initiate an authorization request.
Declaration
public AuthorizationRequest(AuthorizationOption authorizationOption, bool registerForRemoteNotifications)
Parameters
| Type | Name | Description |
|---|---|---|
| AuthorizationOption | authorizationOption | The authorization options your app is requesting. You may specify multiple options to request authorization for. Request only the authorization options that you plan to use. |
| bool | registerForRemoteNotifications | Set this to true to initiate the registration process with Apple Push Notification service after the user has granted authorization If registration succeeds the DeviceToken will be returned. You should pass this token along to the server you use to generate remote notifications for the device. |