AppdynamicsMobilesdk class

Interact with the AppDynamics Agent running in your application

This class provides a number of methods to interact with the AppDynamics Agent including

  • Reporting custom metrics/timers
  • Reporting information points manually

Constructors

AppdynamicsMobilesdk()

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

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

getCorrelationHeaders([bool valuesAsList = true]) Future<Map<String, String>>
leaveBreadcrumb(dynamic breadcrumb, bool visibleInCrashesAndSessions) Future<void>
Leaves a breadcrumb that will appear in a crash report.
reportError(dynamic error, dynamic stackTrace) Future<void>
Reports an error that was caught.
reportMetric(String name, int value) Future<void>
Reports metric value for the given name.
setUserData(String key, String value) Future<void>
setUserDataBoolean(String key, bool value) Future<void>
setUserDataDate(String key, DateTime dt) Future<void>
setUserDataDouble(String key, double value) Future<void>
setUserDataLong(String key, int value) Future<void>
startNextSession() Future<void>
startRequest(String url) AppdynamicsHttpRequestTracker
Begins tracking an HTTP request. Call this immediately before sending an HTTP request to track it manually.
startSessionFrame(String name) Future<AppdynamicsSessionFrame>
startTimer(String label) Future<void>
stopTimer(String label) Future<void>
takeScreenshot() Future<void>