Classes
The following classes are available globally.
-
User actions and app events can be tracked with BranchEvent. BranchEvents can be attributed back to Branch sessions and campaigns in the Branch dashboard, giving you greater insight into effective campaigns and app use.
See moreDeclaration
Objective-C
@interface BranchEvent : NSObject
Swift
class BranchEvent : NSObject
-
The
See moreBranch
class is the main class for interacting with Branch services.Declaration
Objective-C
@interface Branch : NSObject
Swift
class Branch : NSObject
-
Undocumented
See moreDeclaration
Objective-C
@interface BranchLinkProperties : NSObject + (instancetype)linkPropertiesWithDictionary:(NSDictionary*)dictionary; - (NSDictionary*) dictionary; @property (nonatomic, strong) NSArray<NSString*>*_Nullable tags; @property (nonatomic, strong) NSString*_Nullable feature; @property (nonatomic, strong) NSString*_Nullable alias; @property (nonatomic, strong) NSString*_Nullable channel; @property (nonatomic, strong) NSString*_Nullable stage; @property (nonatomic, strong) NSString*_Nullable campaign; @property (nonatomic, assign) NSInteger matchDuration; @property (nonatomic, assign) BranchLinkType linkType; @property (nonatomic, strong, null_resettable) NSMutableDictionary* controlParams; @end
Swift
class BranchLinkProperties : NSObject
-
Use a
See moreBranchConfiguration
object to configure Branch for your app when you start Branch.Declaration
Objective-C
@interface BranchConfiguration : NSObject <NSCopying>
Swift
class BranchConfiguration : NSObject, NSCopying
-
This is a thread-safe version of an NSMutableDictionary.
See moreDeclaration
Objective-C
@interface BranchMutableDictionary <KeyType, ObjectType> : NSMutableDictionary<KeyType,ObjectType>
Swift
class BranchMutableDictionary<KeyType, ObjectType> : NSMutableDictionary where KeyType : AnyObject, ObjectType : AnyObject
-
Branch session parameters.
See moreDeclaration
Objective-C
@interface BranchSession : NSObject
Swift
class BranchSession : NSObject
-
BranchContentMetadata describes properties in your Branch Universal Object.
See moreDeclaration
Objective-C
@interface BranchContentMetadata : NSObject
Swift
class BranchContentMetadata : NSObject
-
Use a BranchUniversalObject to describe content in your app for deep links, content analytics and indexing.
The properties object describes your content in a standard way so that it can be deep linked, shared, or indexed on spotlight for instance. You can set all the properties associated with the object and then call action methods on it to create a link or index the content on Spotlight.
See moreDeclaration
Objective-C
@interface BranchUniversalObject : NSObject
Swift
class BranchUniversalObject : NSObject