Constants
The following constants are available globally.
-
The Branch SDK version number as a double.
Declaration
Objective-C
extern double BranchVersionNumber
Swift
var BranchVersionNumber: Double
-
The Branch SDK version framework string.
Declaration
Objective-C
extern const unsigned char BranchVersionString[]
-
Declaration
Objective-C
extern NSString *const _Nonnull BranchWillStartSessionNotification
Swift
static let BranchWillStartSession: NSNotification.Name
-
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT NSString*const BranchDidStartSessionNotification
Swift
static let BranchDidStartSession: NSNotification.Name
-
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT NSString*const BranchDidOpenURLWithSessionNotification
Swift
static let BranchDidOpenURLWithSession: NSNotification.Name
-
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT NSString*const BranchURLKey
Swift
let BranchURLKey: String
-
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT NSString*const BranchSessionKey
Swift
let BranchSessionKey: String
-
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT NSString*const BranchErrorKey
Swift
let BranchErrorKey: String
-
The Branch error domain.
Declaration
Objective-C
extern NSString *const _Nonnull BNCErrorDomain
Swift
let BNCErrorDomain: String
-
Declaration
Objective-C
extern BranchStandardEvent _Nonnull BranchStandardEventAddToCart
Swift
static let addToCart: BranchStandardEvent
-
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchStandardEvent _Nonnull BranchStandardEventAddToWishlist
Swift
static let addToWishlist: BranchStandardEvent
-
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchStandardEvent _Nonnull BranchStandardEventViewCart
Swift
static let viewCart: BranchStandardEvent
-
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchStandardEvent _Nonnull BranchStandardEventInitiatePurchase
Swift
static let initiatePurchase: BranchStandardEvent
-
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchStandardEvent _Nonnull BranchStandardEventAddPaymentInfo
Swift
static let addPaymentInfo: BranchStandardEvent
-
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchStandardEvent _Nonnull BranchStandardEventPurchase
Swift
static let purchase: BranchStandardEvent
-
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchStandardEvent _Nonnull BranchStandardEventSpendCredits
Swift
static let spendCredits: BranchStandardEvent
-
Declaration
Objective-C
extern BranchStandardEvent _Nonnull BranchStandardEventSearch
Swift
static let search: BranchStandardEvent
-
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchStandardEvent _Nonnull BranchStandardEventViewItem
Swift
static let viewItem: BranchStandardEvent
-
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchStandardEvent _Nonnull BranchStandardEventViewItems
Swift
static let viewItems: BranchStandardEvent
-
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchStandardEvent _Nonnull BranchStandardEventRate
Swift
static let rate: BranchStandardEvent
-
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchStandardEvent _Nonnull BranchStandardEventShare
Swift
static let share: BranchStandardEvent
-
Declaration
Objective-C
extern BranchStandardEvent _Nonnull BranchStandardEventCompleteRegistration
Swift
static let completeRegistration: BranchStandardEvent
-
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchStandardEvent _Nonnull BranchStandardEventCompleteTutorial
Swift
static let completeTutorial: BranchStandardEvent
-
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchStandardEvent _Nonnull BranchStandardEventAchieveLevel
Swift
static let achieveLevel: BranchStandardEvent
-
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchStandardEvent _Nonnull BranchStandardEventUnlockAchievement
Swift
static let unlockAchievement: BranchStandardEvent
-
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchContentSchema _Nonnull BranchContentSchemaCommerceAuction
Swift
static let commerceAuction: BranchContentSchema
-
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchContentSchema _Nonnull BranchContentSchemaCommerceBusiness
Swift
static let commerceBusiness: BranchContentSchema
-
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchContentSchema _Nonnull BranchContentSchemaCommerceOther
Swift
static let commerceOther: BranchContentSchema
-
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchContentSchema _Nonnull BranchContentSchemaCommerceProduct
Swift
static let commerceProduct: BranchContentSchema
-
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchContentSchema _Nonnull BranchContentSchemaCommerceRestaurant
Swift
static let commerceRestaurant: BranchContentSchema
-
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchContentSchema _Nonnull BranchContentSchemaCommerceService
Swift
static let commerceService: BranchContentSchema
-
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchContentSchema _Nonnull BranchContentSchemaCommerceTravelFlight
Swift
static let commerceTravelFlight: BranchContentSchema
-
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchContentSchema _Nonnull BranchContentSchemaCommerceTravelHotel
Swift
static let commerceTravelHotel: BranchContentSchema
-
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchContentSchema _Nonnull BranchContentSchemaCommerceTravelOther
Swift
static let commerceTravelOther: BranchContentSchema
-
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchContentSchema _Nonnull BranchContentSchemaGameState
Swift
static let gameState: BranchContentSchema
-
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchContentSchema _Nonnull BranchContentSchemaMediaImage
Swift
static let mediaImage: BranchContentSchema
-
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchContentSchema _Nonnull BranchContentSchemaMediaMixed
Swift
static let mediaMixed: BranchContentSchema
-
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchContentSchema _Nonnull BranchContentSchemaMediaMusic
Swift
static let mediaMusic: BranchContentSchema
-
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchContentSchema _Nonnull BranchContentSchemaMediaOther
Swift
static let mediaOther: BranchContentSchema
-
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchContentSchema _Nonnull BranchContentSchemaMediaVideo
Swift
static let mediaVideo: BranchContentSchema
-
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchContentSchema _Nonnull BranchContentSchemaOther
Swift
static let other: BranchContentSchema
-
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchContentSchema _Nonnull BranchContentSchemaTextArticle
Swift
static let textArticle: BranchContentSchema
-
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchContentSchema _Nonnull BranchContentSchemaTextBlog
Swift
static let textBlog: BranchContentSchema
-
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchContentSchema _Nonnull BranchContentSchemaTextOther
Swift
static let textOther: BranchContentSchema
-
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchContentSchema _Nonnull BranchContentSchemaTextRecipe
Swift
static let textRecipe: BranchContentSchema
-
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchContentSchema _Nonnull BranchContentSchemaTextReview
Swift
static let textReview: BranchContentSchema
-
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchContentSchema _Nonnull BranchContentSchemaTextSearchResults
Swift
static let textSearchResults: BranchContentSchema
-
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchContentSchema _Nonnull BranchContentSchemaTextStory
Swift
static let textStory: BranchContentSchema
-
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchContentSchema _Nonnull BranchContentSchemaTextTechnicalDoc
Swift
static let textTechnicalDoc: BranchContentSchema
-
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchCondition _Nonnull BranchConditionOther
Swift
static let other: BranchCondition
-
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchCondition _Nonnull BranchConditionNew
Swift
static let new: BranchCondition
-
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchCondition _Nonnull BranchConditionExcellent
Swift
static let excellent: BranchCondition
-
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchCondition _Nonnull BranchConditionGood
Swift
static let good: BranchCondition
-
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchCondition _Nonnull BranchConditionFair
Swift
static let fair: BranchCondition
-
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchCondition _Nonnull BranchConditionPoor
Swift
static let poor: BranchCondition
-
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchCondition _Nonnull BranchConditionUsed
Swift
static let used: BranchCondition
-
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchCondition _Nonnull BranchConditionRefurbished
Swift
static let refurbished: BranchCondition