BranchSdk class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
enableLogging()
→ void
-
Enable Branch SDK Logging.
-
init({bool? debug, Function? onInit})
→ dynamic
-
Initailize the Branch SDK.
-
logout(Function? logoutCallback)
→ void
-
Clears user session and creates a new one. Use this when another user
wants to use the app.
-
setIdentity(String identity, {Function? onSetIdentity})
→ void
-
Set User Identity.
-
setPreinstallCampaign(String? campaign)
→ void
-
wrapper method to add the pre-install campaign analytics
-
setPreinstallPartner(String? partner)
→ void
-
wrapper method to add the pre-install campaign analytics.
Android Only.
partner
Partner String
-
validateSDKIntegration()
→ dynamic
-
Use the
validateSDKIntegration
method as a debugging aid to assure that
you've integrated the Branch SDK correctly.