Constants
The following constants are available globally.
-
The Branch SDK version number as a double.
Declaration
Objective-C
extern double BranchVersionNumberSwift
var BranchVersionNumber: Double -
The Branch SDK version framework string.
Declaration
Objective-C
extern const unsigned char BranchVersionString[]
-
Declaration
Objective-C
extern NSString *const _Nonnull BranchWillStartSessionNotificationSwift
static let BranchWillStartSession: NSNotification.Name -
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT NSString*const BranchDidStartSessionNotificationSwift
static let BranchDidStartSession: NSNotification.Name -
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT NSString*const BranchDidOpenURLWithSessionNotificationSwift
static let BranchDidOpenURLWithSession: NSNotification.Name -
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT NSString*const BranchURLKeySwift
let BranchURLKey: String -
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT NSString*const BranchSessionKeySwift
let BranchSessionKey: String -
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT NSString*const BranchErrorKeySwift
let BranchErrorKey: String
-
The Branch error domain.
Declaration
Objective-C
extern NSString *const _Nonnull BNCErrorDomainSwift
let BNCErrorDomain: String
-
Declaration
Objective-C
extern BranchStandardEvent _Nonnull BranchStandardEventAddToCartSwift
static let addToCart: BranchStandardEvent -
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchStandardEvent _Nonnull BranchStandardEventAddToWishlistSwift
static let addToWishlist: BranchStandardEvent -
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchStandardEvent _Nonnull BranchStandardEventViewCartSwift
static let viewCart: BranchStandardEvent -
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchStandardEvent _Nonnull BranchStandardEventInitiatePurchaseSwift
static let initiatePurchase: BranchStandardEvent -
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchStandardEvent _Nonnull BranchStandardEventAddPaymentInfoSwift
static let addPaymentInfo: BranchStandardEvent -
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchStandardEvent _Nonnull BranchStandardEventPurchaseSwift
static let purchase: BranchStandardEvent -
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchStandardEvent _Nonnull BranchStandardEventSpendCreditsSwift
static let spendCredits: BranchStandardEvent
-
Declaration
Objective-C
extern BranchStandardEvent _Nonnull BranchStandardEventSearchSwift
static let search: BranchStandardEvent -
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchStandardEvent _Nonnull BranchStandardEventViewItemSwift
static let viewItem: BranchStandardEvent -
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchStandardEvent _Nonnull BranchStandardEventViewItemsSwift
static let viewItems: BranchStandardEvent -
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchStandardEvent _Nonnull BranchStandardEventRateSwift
static let rate: BranchStandardEvent -
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchStandardEvent _Nonnull BranchStandardEventShareSwift
static let share: BranchStandardEvent
-
Declaration
Objective-C
extern BranchStandardEvent _Nonnull BranchStandardEventCompleteRegistrationSwift
static let completeRegistration: BranchStandardEvent -
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchStandardEvent _Nonnull BranchStandardEventCompleteTutorialSwift
static let completeTutorial: BranchStandardEvent -
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchStandardEvent _Nonnull BranchStandardEventAchieveLevelSwift
static let achieveLevel: BranchStandardEvent -
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchStandardEvent _Nonnull BranchStandardEventUnlockAchievementSwift
static let unlockAchievement: BranchStandardEvent
-
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchContentSchema _Nonnull BranchContentSchemaCommerceAuctionSwift
static let commerceAuction: BranchContentSchema -
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchContentSchema _Nonnull BranchContentSchemaCommerceBusinessSwift
static let commerceBusiness: BranchContentSchema -
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchContentSchema _Nonnull BranchContentSchemaCommerceOtherSwift
static let commerceOther: BranchContentSchema -
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchContentSchema _Nonnull BranchContentSchemaCommerceProductSwift
static let commerceProduct: BranchContentSchema -
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchContentSchema _Nonnull BranchContentSchemaCommerceRestaurantSwift
static let commerceRestaurant: BranchContentSchema -
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchContentSchema _Nonnull BranchContentSchemaCommerceServiceSwift
static let commerceService: BranchContentSchema -
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchContentSchema _Nonnull BranchContentSchemaCommerceTravelFlightSwift
static let commerceTravelFlight: BranchContentSchema -
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchContentSchema _Nonnull BranchContentSchemaCommerceTravelHotelSwift
static let commerceTravelHotel: BranchContentSchema -
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchContentSchema _Nonnull BranchContentSchemaCommerceTravelOtherSwift
static let commerceTravelOther: BranchContentSchema -
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchContentSchema _Nonnull BranchContentSchemaGameStateSwift
static let gameState: BranchContentSchema -
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchContentSchema _Nonnull BranchContentSchemaMediaImageSwift
static let mediaImage: BranchContentSchema -
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchContentSchema _Nonnull BranchContentSchemaMediaMixedSwift
static let mediaMixed: BranchContentSchema -
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchContentSchema _Nonnull BranchContentSchemaMediaMusicSwift
static let mediaMusic: BranchContentSchema -
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchContentSchema _Nonnull BranchContentSchemaMediaOtherSwift
static let mediaOther: BranchContentSchema -
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchContentSchema _Nonnull BranchContentSchemaMediaVideoSwift
static let mediaVideo: BranchContentSchema -
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchContentSchema _Nonnull BranchContentSchemaOtherSwift
static let other: BranchContentSchema -
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchContentSchema _Nonnull BranchContentSchemaTextArticleSwift
static let textArticle: BranchContentSchema -
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchContentSchema _Nonnull BranchContentSchemaTextBlogSwift
static let textBlog: BranchContentSchema -
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchContentSchema _Nonnull BranchContentSchemaTextOtherSwift
static let textOther: BranchContentSchema -
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchContentSchema _Nonnull BranchContentSchemaTextRecipeSwift
static let textRecipe: BranchContentSchema -
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchContentSchema _Nonnull BranchContentSchemaTextReviewSwift
static let textReview: BranchContentSchema -
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchContentSchema _Nonnull BranchContentSchemaTextSearchResultsSwift
static let textSearchResults: BranchContentSchema -
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchContentSchema _Nonnull BranchContentSchemaTextStorySwift
static let textStory: BranchContentSchema -
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchContentSchema _Nonnull BranchContentSchemaTextTechnicalDocSwift
static let textTechnicalDoc: BranchContentSchema
-
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchCondition _Nonnull BranchConditionOtherSwift
static let other: BranchCondition -
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchCondition _Nonnull BranchConditionNewSwift
static let new: BranchCondition -
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchCondition _Nonnull BranchConditionExcellentSwift
static let excellent: BranchCondition -
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchCondition _Nonnull BranchConditionGoodSwift
static let good: BranchCondition -
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchCondition _Nonnull BranchConditionFairSwift
static let fair: BranchCondition -
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchCondition _Nonnull BranchConditionPoorSwift
static let poor: BranchCondition -
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchCondition _Nonnull BranchConditionUsedSwift
static let used: BranchCondition -
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT BranchCondition _Nonnull BranchConditionRefurbishedSwift
static let refurbished: BranchCondition
View on GitHub
Constants Reference