PendoSDK 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
-
dismissVisibleGuides()
→ Future<void>
-
Dismisses any visible guides.
-
endSession()
→ Future<void>
-
Must be called after the SDK was setup.
-
getAccountId()
→ Future<String?>
-
Returns the current account id if available.
-
getDeviceId()
→ Future<String?>
-
Returns the Pendo SDK unique device id.
-
getVisitorId()
→ Future<String?>
-
Returns the current visitor id if available.
-
pauseGuides({bool dismissGuides = true})
→ Future<void>
-
Stops showing guides.
-
resumeGuides()
→ Future<void>
-
Resumes presenting guides.
-
setAccountData(Map<String, dynamic>? accountData)
→ Future<void>
-
Sets account data value for a given data name.
-
setDebugMode({bool isDebugEnabled = true})
→ Future<void>
-
Presents debug logs when
isDebugEnabled
is set to true.
-
setup(String appKey, {Map<String, dynamic>? pendoOptions})
→ Future<void>
-
Setups the Pendo SDK.
-
setVisitorData(Map<String, dynamic>? visitorData)
→ Future<void>
-
Sets a visitor data value.
-
startSession(String? visitorId, String? accountId, Map<String, dynamic>? visitorData, Map<String, dynamic>? accountData)
→ Future<void>
-
Must be called after the SDK was setup.
-
track(String event, Map<String, dynamic>? properties)
→ Future<void>
-
Tracks an event that has happened in your application.