Skip to main content

bfgCommon Class

Notification names and other constants needed for different systems of the BFG SDK. More...

Static Public Attributes

const string BFG_RAVE_ID_CHANGED = "RaveIdChanged"
 Notification for the user changing their Rave ID. More...
 
const string BFG_NOTIFICATION_PLACEMENT_CONTENT_OPENED = "BFG_NOTIFICATION_PLACEMENT_CONTENT_OPENED"
 FOR ANDROID ONLY: More...
 
const string BFG_NOTIFICATION_PLACEMENT_CONTENT_CLOSED = "BFG_NOTIFICATION_PLACEMENT_CONTENT_CLOSED"
 FOR ANDROID ONLY: More...
 
const string BFGPROMODASHBOARD_NOTIFICATION_MAINMENU = "BFGPROMODASHBOARD_NOTIFICATION_MAINMENU"
 FOR ANDROID ONLY: More...
 
const string BFGPROMODASHBOARD_POST_CURRENT_INVENTORY_SUCCEEDED = "BFGPROMODASHBOARD_POST_CURRENT_INVENTORY_SUCCEEDED"
 FOR ANDROID ONLY: More...
 
const string NOTIFICATION_POST_CURRENT_INVENTORY_SUCCEEDED = "NOTIFICATION_POST_CURRENT_INVENTORY_SUCCEEDED"
 FOR ANDROID ONLY: More...
 
const string NOTIFICATION_PURCHASE_CANCELLED = "NOTIFICATION_PURCHASE_CANCELLED"
 FOR ANDROID ONLY: More...
 
const string NOTIFICATION_RESTORE_COMPLETED = "NOTIFICATION_RESTORE_COMPLETED"
 FOR ANDROID ONLY: More...
 
const string NOTIFICATION_BILLING_INITIALIZE_SUCCEEDED = "NOTIFICATION_BILLING_INITIALIZE_SUCCEEDED"
 FOR ANDROID ONLY: More...
 
const string NOTIFICATION_BILLING_INITIALIZE_FAILED = "NOTIFICATION_BILLING_INITIALIZE_FAILED"
 FOR ANDROID ONLY: More...
 
const string NOTIFICATION_PURCHASE_ASKUSER = "NOTIFICATION_PURCHASE_ASKUSER"
 FOR ANDROID ONLY: More...
 
const string NOTIFICATION_PURCHASE_REVOKED = "NOTIFICATION_PURCHASE_REVOKED"
 FOR ANDROID ONLY: More...
 
const string BFG_NOTIFICATION_APP_RESUME = "BFG_APP_RESUME"
 FOR ANDROID ONLY: More...
 
const string BFG_NOTIFICATION_APP_PAUSE = "BFG_APP_PAUSE"
 FOR ANDROID ONLY: More...
 
const string BFG_NOTIFICATION_APP_STOP = "BFG_APP_STOP"
 FOR ANDROID ONLY: More...
 
const string BFG_NOTIFICATION_SESSION_START = "bfg_session_start"
 Notification for the start of a new session. More...
 
const string NOTIFICATION_PLACEMENT_DIDRECEIVEDATASTRING = "BFG_NOTIFICATION_PLACEMENT_PAYLOAD"
 Indicates that a payload specific to the game was triggered on a placement. More...
 
const string UNITY_WRAPPER_VERSION = "10.7.0"
 The version of the BFG Unity SDK.
 
const string BFGPROMODASHBOARD_NOTIFICATION_COLDSTART = "BFGPROMODASHBOARD_NOTIFICATION_CONTINUE"
 Notification for a Cold Start. More...
 
const string BFGPROMODASHBOARD_NOTIFICATION_WARMSTART = "BFGPROMODASHBOARD_NOTIFICATION_APPLICATION_RESUMED"
 The deprecated notification for a Warm Start. More...
 
const string BFG_NOTIFICATION_COLD_START = "BFG_NOTIFICATION_COLD_START"
 Indicates when a Cold Start occurs.
 
const string BFG_NOTIFICATION_WARM_START = "BFG_NOTIFICATION_WARM_START"
 Indicates when a Warm Start occurs.
 
const string NOTIFICATION_PURCHASE_PRODUCTINFORMATION = "NOTIFICATION_PURCHASE_PRODUCTINFORMATION"
 Indicates that product information is available for retrieval from the SDK.
 
const string NOTIFICATION_PURCHASE_SUCCEEDED = "NOTIFICATION_PURCHASE_SUCCEEDED"
 Indicates that a product was successfully purchased and the local record of purchases updated.
 
const string NOTIFICATION_PURCHASE_SUCCEEDED_WITH_RECEIPT = "NOTIFICATION_PURCHASE_SUCCEEDED_WITH_RECEIPT"
 Indicates that a product was successfully purchased and the local record of purchases updated. Provides the purchase information, including the receipt, in JSON format.
 
const string NOTIFICATION_PURCHASE_FAILED = "NOTIFICATION_PURCHASE_FAILED"
 Indicates that a purchase failed.
 
const string NOTIFICATION_RESTORE_SUCCEEDED = "NOTIFICATION_RESTORE_SUCCEEDED"
 Indicates that previous non-consumable purchases were restored and made available to the player.
 
const string NOTIFICATION_RESTORE_FAILED = "NOTIFICATION_RESTORE_FAILED"
 Indicates that previous non-consumable purchases were unable to be restored.
 
const string NOTIFICATION_DEEPLINK_ONDEEPLINKRECEIVED = "NOTIFICATION_DEEPLINK_ONDEEPLINKRECEIVED"
 Indicates that a Deep Link was received by the SDK.
 
const string THIRDPARTYTARGETEDADVERTISING = "THIRDPARTYTARGETEDADVERTISING"
 Indicates that any systems related to third party advertising should toggle on/off.
 
const string RAVE_ADK_DELEGATE_ADK_DID_CHANGE = "RAVE_ADK_DELEGATE_ADK_DID_CHANGE"
 Notification for the rave ADK's delegate ADK having changed.
 
const string RAVE_ADK_DELEGATE_ADK_UNRESOLVED_KEYS = "RAVE_ADK_DELEGATE_ADK_UNRESOLVED_KEYS"
 Notification for the rave ADK's delegate ADK keys being unresolved.
 
const string RAVE_ADK_DELEGATE_FETCH_CURRENT_SUCCEEDED = "RAVE_ADK_DELEGATE_FETCH_CURRENT_SUCCEEDED"
 Notification for the rave ADK's delegate's current fetch succeeding.
 
const string RAVE_ADK_DELEGATE_FETCH_CURRENT_FAILED = "RAVE_ADK_DELEGATE_FETCH_CURRENT_FAILED"
 Notification for the rave ADK's delegate's current fetch failing.
 
const string RAVE_ADK_DELEGATE_ADK_SELECT_SUCCEEDED = "RAVE_ADK_DELEGATE_ADK_SELECT_SUCCEEDED"
 Notification for the rave ADK's delegate ADK selection succeeding.
 
const string RAVE_ADK_DELEGATE_ADK_SELECT_FAILED = "RAVE_ADK_DELEGATE_ADK_SELECT_FAILED"
 Notification for the rave ADK's delegate ADK selection failing.
 
const string BFG_RAVE_PROFILE_FAILED_WITH_ERROR = "BFG_RAVE_PROFILE_FAILED_WITH_ERROR"
 Notification for the bfgRave's profile not being retrieved with an error.
 
const string BFG_RAVE_PROFILE_SUCCEEDED = "BFG_RAVE_PROFILE_SUCCEEDED"
 Notification for the bfgRave's profile retrieval succeeding.
 
const string BFG_RAVE_PROFILE_CANCELLED = "BFG_RAVE_PROFILE_CANCELLED"
 Notification for the bfgRave's profile retrieval being cancelled.
 
const string BFG_RAVE_SIGN_IN_COPPA_TRUE = "BFG_RAVE_SIGN_IN_COPPA_TRUE"
 Notification for the bfgRave profile being signed in with COPPA requirements in effect.
 
const string BFG_RAVE_SIGN_IN_COPPA_FALSE = "BFG_RAVE_SIGN_IN_COPPA_FALSE"
 Notification for the bfgRave profile being signed in without COPPA requirements in effect.
 
const string BFG_RAVE_SIGN_IN_CANCELLED = "BFG_RAVE_SIGN_IN_CANCELLED"
 Notification for the bfgRave sign in being cancelled.
 
const string BFG_RAVE_SIGN_IN_SUCCEEDED = "BFG_RAVE_SIGN_IN_SUCCEEDED"
 Notification for the bfgRave sign in being successful.
 
const string BFG_RAVE_SIGN_IN_FAILED_WITH_ERROR = "BFG_RAVE_SIGN_IN_FAILED_WITH_ERROR"
 Notification for the bfgRave sign in failing with an error.
 
const string BFG_RAVE_USER_DID_LOGIN = "BFG_RAVE_USER_DID_LOGIN"
 Notification for the user logging in through bfgRave.
 
const string BFG_RAVE_USER_DID_LOGOUT = "BFG_RAVE_USER_DID_LOGOUT"
 Notification for the user logging out of rave through bfgRave.
 
const string BFG_RAVE_USER_LOGIN_ERROR = "BFG_RAVE_USER_LOGIN_ERROR"
 Notification for an error occurring while the user is logging into rave.
 
const string BFG_RAVE_CHANGE_DISPLAY_NAME_DID_SUCCEED = "BFG_RAVE_CHANGE_DISPLAY_NAME_DID_SUCCEED"
 Notification for the bfgRave display name changing successfully.
 
const string BFG_RAVE_CHANGE_DISPLAY_NAME_DID_FAIL_WITH_ERROR = "BFG_RAVE_CHANGE_DISPLAY_NAME_DID_FAIL_WITH_ERROR"
 Notification for the bfgRave display failing to be changed, with an error generated because of it.
 
const string BFG_RAVE_EXTERNALCALLBACK_LOGGEDIN = "BFG_RAVE_EXTERNALCALLBACK_LOGGEDIN"
 Notification for the user being logged into rave externally.
 
const string BFG_RAVE_EXTERNALCALLBACK_LOGGEDOUT = "BFG_RAVE_EXTERNALCALLBACK_LOGGEDOUT"
 Notification for the user being logged out of rave externally.
 
const string BFG_RAVE_EXTERNALCALLBACK_LOGINERROR = "BFG_RAVE_EXTERNALCALLBACK_LOGINERROR"
 Notification for an error occurring while the user is being logged in to rave externally.
 
const string BFG_RAVE_EXTERNALCALLBACK_GET_APP_ASSOCIATED_FACEBOOK_FRIENDS_DID_SUCCEED = "BFG_RAVE_EXTERNALCALLBACK_GET_APP_ASSOCIATED_FACEBOOK_FRIENDS_DID_SUCCEED"
 Notification for retrieving app-associated Facebook friends json successfully externally
 
const string BFG_RAVE_EXTERNALCALLBACK_GET_APP_ASSOCIATED_FACEBOOK_FRIENDS_DID_FAIL_WITH_ERROR = "BFG_RAVE_EXTERNALCALLBACK_GET_APP_ASSOCIATED_FACEBOOK_FRIENDS_DID_FAIL_WITH_ERROR"
 Notification for an error occurring while retrieving app-associated Facebook friends json externally
 
const string BFG_RAVE_READY = "BFG_RAVE_READY"
 Notification for bfgRave being ready.
 
const string BFG_POLICY_LISTENER_WILLSHOWPOLICIES = "BFG_POLICY_LISTENER_WILLSHOWPOLICIES"
 Indicates that a discovered policy will be shown to the player.
 
const string BFG_POLICY_LISTENER_ONPOLICIESCOMPLETED = "BFG_POLICY_LISTENER_ONPOLICIESCOMPLETED"
 Indicates that a user accepted/rejected every displayed policy so restrictions for the game may have changed.
 
const string BFG_NOTIFICATION_ATT_DIALOG_DISMISSED = "BFG_NOTIFICATION_ATT_DIALOG_DISMISSED"
 FOR iOS ONLY: More...
 
const string BFG_RAVE_ACCOUNT_DELETION_REQUEST_SUCCEEDED = "BFG_RAVE_ACCOUNT_DELETION_REQUEST_SUCCEEDED"
 Notification when a Zendesk request for account deletion has been successfully submitted
 
const string BFG_RAVE_ACCOUNT_DELETION_REQUEST_FAILED = "BFG_RAVE_ACCOUNT_DELETION_REQUEST_FAILED"
 Notification when a Zendesk request for account deletion has failed to be submitted. The event is accompanied by a an error code
 
const string NOTIFICATION_PLACEMENTCONTENT_ERROR = "NOTIFICATION_PLACEMENTCONTENT_ERROR"
 FOR iOS ONLY: More...
 
const string NOTIFICATION_PLACEMENTCONTENT_WILLDISMISS = "NOTIFICATION_PLACEMENTCONTENT_WILLDISMISS"
 FOR iOS ONLY: More...
 
const string NOTIFICATION_PLACEMENTCONTENT_WILLOPEN = "NOTIFICATION_PLACEMENTCONTENT_WILLOPEN"
 FOR iOS ONLY: More...
 
const string NOTIFICATION_FINISH_PURCHASE_COMPLETE = "NOTIFICATION_FINISH_PURCHASE_COMPLETE"
 FOR iOS ONLY: More...
 
const string NOTIFICATION_PUSHNOTIFICATION_DIDRECEIVEPUSHNOTIFICATIONWITHPAYLOAD_WHILEAPPINFOREGROUND = "NOTIFICATION_PUSHNOTIFICATION_DIDRECEIVEPUSHNOTIFICATIONWITHPAYLOAD_WHILEAPPINFOREGROUND"
 FOR iOS ONLY: More...
 

Detailed Description

Notification names and other constants needed for different systems of the BFG SDK.

Member Data Documentation

◆ BFG_NOTIFICATION_APP_PAUSE

const string BFGSDK.bfgCommon.BFG_NOTIFICATION_APP_PAUSE = "BFG_APP_PAUSE"
static
FOR ANDROID ONLY: Notification for the app pausing.

◆ BFG_NOTIFICATION_APP_RESUME

const string BFGSDK.bfgCommon.BFG_NOTIFICATION_APP_RESUME = "BFG_APP_RESUME"
static
FOR ANDROID ONLY: Notification for the app resuming.

◆ BFG_NOTIFICATION_APP_STOP

const string BFGSDK.bfgCommon.BFG_NOTIFICATION_APP_STOP = "BFG_APP_STOP"
static
FOR ANDROID ONLY: Notification for the app stopping.

◆ BFG_NOTIFICATION_ATT_DIALOG_DISMISSED

const string BFGSDK.bfgCommon.BFG_NOTIFICATION_ATT_DIALOG_DISMISSED = "BFG_NOTIFICATION_ATT_DIALOG_DISMISSED"
static
FOR iOS ONLY: Notification for when the ATT dialog is dismissed by the user and gameplay can proceed.

◆ BFG_NOTIFICATION_PLACEMENT_CONTENT_CLOSED

const string BFGSDK.bfgCommon.BFG_NOTIFICATION_PLACEMENT_CONTENT_CLOSED = "BFG_NOTIFICATION_PLACEMENT_CONTENT_CLOSED"
static
FOR ANDROID ONLY: Notification for a placement's context being closed.

◆ BFG_NOTIFICATION_PLACEMENT_CONTENT_OPENED

const string BFGSDK.bfgCommon.BFG_NOTIFICATION_PLACEMENT_CONTENT_OPENED = "BFG_NOTIFICATION_PLACEMENT_CONTENT_OPENED"
static
FOR ANDROID ONLY: Notification for a placement's context being opened.

◆ BFG_NOTIFICATION_SESSION_START

const string BFGSDK.bfgCommon.BFG_NOTIFICATION_SESSION_START = "bfg_session_start"
static
Notification for the start of a new session. The value of this constant is different for Android. The value of this constant is different for iOS.

◆ BFG_RAVE_ID_CHANGED

const string BFGSDK.bfgCommon.BFG_RAVE_ID_CHANGED = "RaveIdChanged"
static
Notification for the user changing their Rave ID. The value of this constant is different for Android. The value of this constant is different for iOS. This constant is not officially supported on Standalone but included for compile-ability.

◆ BFGPROMODASHBOARD_NOTIFICATION_COLDSTART

const string BFGSDK.bfgCommon.BFGPROMODASHBOARD_NOTIFICATION_COLDSTART = "BFGPROMODASHBOARD_NOTIFICATION_CONTINUE"
static
Notification for a Cold Start.
Deprecated:\n Deprecated since Unity Wrapper 7.0, please use BFG_NOTIFICATION_COLD_START instead.

◆ BFGPROMODASHBOARD_NOTIFICATION_MAINMENU

const string BFGSDK.bfgCommon.BFGPROMODASHBOARD_NOTIFICATION_MAINMENU = "BFGPROMODASHBOARD_NOTIFICATION_MAINMENU"
static
FOR ANDROID ONLY: Notification for the bfgPromoDashBoard main menu being shown.

◆ BFGPROMODASHBOARD_NOTIFICATION_WARMSTART

const string BFGSDK.bfgCommon.BFGPROMODASHBOARD_NOTIFICATION_WARMSTART = "BFGPROMODASHBOARD_NOTIFICATION_APPLICATION_RESUMED"
static
The deprecated notification for a Warm Start.
Deprecated:\n Deprecated since Unity Wrapper 7.0, please use BFG_NOTIFICATION_WARM_START instead.

◆ BFGPROMODASHBOARD_POST_CURRENT_INVENTORY_SUCCEEDED

const string BFGSDK.bfgCommon.BFGPROMODASHBOARD_POST_CURRENT_INVENTORY_SUCCEEDED = "BFGPROMODASHBOARD_POST_CURRENT_INVENTORY_SUCCEEDED"
static
FOR ANDROID ONLY: Notification for the bfgPromoDashBoard inventory being successfully retrieved.

◆ NOTIFICATION_BILLING_INITIALIZE_FAILED

const string BFGSDK.bfgCommon.NOTIFICATION_BILLING_INITIALIZE_FAILED = "NOTIFICATION_BILLING_INITIALIZE_FAILED"
static
FOR ANDROID ONLY: Indicates that purchase services were unable to be initialized.

◆ NOTIFICATION_BILLING_INITIALIZE_SUCCEEDED

const string BFGSDK.bfgCommon.NOTIFICATION_BILLING_INITIALIZE_SUCCEEDED = "NOTIFICATION_BILLING_INITIALIZE_SUCCEEDED"
static
FOR ANDROID ONLY: Indicates that purchase services were initialized successfully.

◆ NOTIFICATION_FINISH_PURCHASE_COMPLETE

const string BFGSDK.bfgCommon.NOTIFICATION_FINISH_PURCHASE_COMPLETE = "NOTIFICATION_FINISH_PURCHASE_COMPLETE"
static
FOR iOS ONLY: Notification that a purchase finished being completed.

◆ NOTIFICATION_PLACEMENT_DIDRECEIVEDATASTRING

const string BFGSDK.bfgCommon.NOTIFICATION_PLACEMENT_DIDRECEIVEDATASTRING = "BFG_NOTIFICATION_PLACEMENT_PAYLOAD"
static
Indicates that a payload specific to the game was triggered on a placement. The value of this constant is different for Android. The value of this constant is different for iOS. This constant is not officially supported on Standalone but included for compile-ability.

◆ NOTIFICATION_PLACEMENTCONTENT_ERROR

const string BFGSDK.bfgCommon.NOTIFICATION_PLACEMENTCONTENT_ERROR = "NOTIFICATION_PLACEMENTCONTENT_ERROR"
static
FOR iOS ONLY: Notification that an error occurred related to a placement's content.

◆ NOTIFICATION_PLACEMENTCONTENT_WILLDISMISS

const string BFGSDK.bfgCommon.NOTIFICATION_PLACEMENTCONTENT_WILLDISMISS = "NOTIFICATION_PLACEMENTCONTENT_WILLDISMISS"
static
FOR iOS ONLY: Notification for a placement's content being dismissed.
Deprecated:\n Deprecated since Unity Wrapper 7.0

◆ NOTIFICATION_PLACEMENTCONTENT_WILLOPEN

const string BFGSDK.bfgCommon.NOTIFICATION_PLACEMENTCONTENT_WILLOPEN = "NOTIFICATION_PLACEMENTCONTENT_WILLOPEN"
static
FOR iOS ONLY: Notification for a placement's content being opened.
Deprecated:\n Deprecated since Unity Wrapper 7.0

◆ NOTIFICATION_POST_CURRENT_INVENTORY_SUCCEEDED

const string BFGSDK.bfgCommon.NOTIFICATION_POST_CURRENT_INVENTORY_SUCCEEDED = "NOTIFICATION_POST_CURRENT_INVENTORY_SUCCEEDED"
static
FOR ANDROID ONLY: Indicates that a GoogleInventory object was successfully retrieved from Google Play services.

◆ NOTIFICATION_PURCHASE_ASKUSER

const string BFGSDK.bfgCommon.NOTIFICATION_PURCHASE_ASKUSER = "NOTIFICATION_PURCHASE_ASKUSER"
static
FOR ANDROID ONLY: Notification for asking the user to confirm the purchase.

◆ NOTIFICATION_PURCHASE_CANCELLED

const string BFGSDK.bfgCommon.NOTIFICATION_PURCHASE_CANCELLED = "NOTIFICATION_PURCHASE_CANCELLED"
static
FOR ANDROID ONLY: Notification for a purchase being cancelled.

◆ NOTIFICATION_PURCHASE_REVOKED

const string BFGSDK.bfgCommon.NOTIFICATION_PURCHASE_REVOKED = "NOTIFICATION_PURCHASE_REVOKED"
static
FOR ANDROID ONLY: Notification that an attempted purchase was revoked.

◆ NOTIFICATION_PUSHNOTIFICATION_DIDRECEIVEPUSHNOTIFICATIONWITHPAYLOAD_WHILEAPPINFOREGROUND

const string BFGSDK.bfgCommon.NOTIFICATION_PUSHNOTIFICATION_DIDRECEIVEPUSHNOTIFICATIONWITHPAYLOAD_WHILEAPPINFOREGROUND = "NOTIFICATION_PUSHNOTIFICATION_DIDRECEIVEPUSHNOTIFICATIONWITHPAYLOAD_WHILEAPPINFOREGROUND"
static
FOR iOS ONLY: Notification for when a push notification containing a payload was received while the app was in the foreground.

◆ NOTIFICATION_RESTORE_COMPLETED

const string BFGSDK.bfgCommon.NOTIFICATION_RESTORE_COMPLETED = "NOTIFICATION_RESTORE_COMPLETED"
static
FOR ANDROID ONLY: Notification for purchase restoration being completed.