Packagecom.myflashlab.air.extensions.firebase.fcm
Classpublic class OneSignalInitSettings
InheritanceOneSignalInitSettings Inheritance Object



Public Properties
 PropertyDefined By
  autoPrompt : Boolean
[write-only] (iOS) Let OneSignal directly prompt for push notifications on init
OneSignalInitSettings
  autoPromptLocation : Boolean
[write-only] (Android) Prompts the user for location permissions.
OneSignalInitSettings
  disableGmsMissingPrompt : Boolean
[write-only] (Android) Prompts the user to update/enable Google Play services if it's disabled on the device.
OneSignalInitSettings
  filterOtherGCMReceivers : Boolean
[write-only] (Android) Enable to prevent other broadcast receivers from receiving OneSignal FCM / GCM payloads.
OneSignalInitSettings
  inAppAlerts : Boolean
[write-only] (iOS) Enable the default in-app alerts
OneSignalInitSettings
  inAppLaunchURL : Boolean
[write-only] (iOS) Enable In-App display of Launch URLs
OneSignalInitSettings
  inFocusDisplayOption : int
[write-only] (Android + iOS) Set notification's in-focus display option.
OneSignalInitSettings
  promptBeforeOpeningPushURL : Boolean
[write-only] (iOS) Prompt user yes/no to open URL's from push notifications
OneSignalInitSettings
  providesAppNotificationSettings : Boolean
[write-only] (iOS) iOS 12+, Used to determine if the app is able to present it's own customized Notification Settings view.
OneSignalInitSettings
  unsubscribeWhenNotificationsAreDisabled : Boolean
[write-only] (Android) If notifications are disabled for your app, unsubscribe the user from OneSignal.
OneSignalInitSettings
Public Methods
 MethodDefined By
  
OneSignalInitSettings
Property Detail
autoPromptproperty
autoPrompt:Boolean  [write-only]

(iOS) Let OneSignal directly prompt for push notifications on init


Implementation
    public function set autoPrompt(value:Boolean):void
autoPromptLocationproperty 
autoPromptLocation:Boolean  [write-only]

(Android) Prompts the user for location permissions. This allows for geotagging so you can send notifications to users based on location.


Implementation
    public function set autoPromptLocation(value:Boolean):void
disableGmsMissingPromptproperty 
disableGmsMissingPrompt:Boolean  [write-only]

(Android) Prompts the user to update/enable Google Play services if it's disabled on the device.


Implementation
    public function set disableGmsMissingPrompt(value:Boolean):void
filterOtherGCMReceiversproperty 
filterOtherGCMReceivers:Boolean  [write-only]

(Android) Enable to prevent other broadcast receivers from receiving OneSignal FCM / GCM payloads. Prevent thrown exceptions or double notifications form other libraries / SDKs that implement notifications. Other non-OneSignal payloads will still be passed through so your app can handle FCM / GCM payloads from other back-ends. Note however you can't use multiple Google Project numbers / Sender IDs. They must be the same if you are using multiple providers, otherwise there will be unexpected unsubscribes.


Implementation
    public function set filterOtherGCMReceivers(value:Boolean):void
inAppAlertsproperty 
inAppAlerts:Boolean  [write-only]

(iOS) Enable the default in-app alerts


Implementation
    public function set inAppAlerts(value:Boolean):void
inAppLaunchURLproperty 
inAppLaunchURL:Boolean  [write-only]

(iOS) Enable In-App display of Launch URLs


Implementation
    public function set inAppLaunchURL(value:Boolean):void
inFocusDisplayOptionproperty 
inFocusDisplayOption:int  [write-only]

(Android + iOS) Set notification's in-focus display option.


Implementation
    public function set inFocusDisplayOption(value:int):void
promptBeforeOpeningPushURLproperty 
promptBeforeOpeningPushURL:Boolean  [write-only]

(iOS) Prompt user yes/no to open URL's from push notifications


Implementation
    public function set promptBeforeOpeningPushURL(value:Boolean):void
providesAppNotificationSettingsproperty 
providesAppNotificationSettings:Boolean  [write-only]

(iOS) iOS 12+, Used to determine if the app is able to present it's own customized Notification Settings view.


Implementation
    public function set providesAppNotificationSettings(value:Boolean):void
unsubscribeWhenNotificationsAreDisabledproperty 
unsubscribeWhenNotificationsAreDisabled:Boolean  [write-only]

(Android) If notifications are disabled for your app, unsubscribe the user from OneSignal. This will happen when your users go to Settings > Apps and turn off notifications, or if they long press one of your notifications and select "block notifications".


Implementation
    public function set unsubscribeWhenNotificationsAreDisabled(value:Boolean):void
Constructor Detail
OneSignalInitSettings()Constructor
public function OneSignalInitSettings()