• /
  • ログイン
  • 無料アカウント

Android SDK API

Mobile monitoring for Android has an SDK API for customizing how New Relic monitors your app. Below are all the methods in this API. For an overview on how to use the API, see the Android SDK API guide.

crashNow (Android SDK API)

Throws a demo run-time exception named java.lang.RuntimeException to test New Relic crash reporting.

currentSessionId (Android SDK API)

Returns ID for current session.

endInteraction (Android SDK API)

Ends a custom interaction.

incrementAttribute (Android SDK API)

Increments the count of an attribute. Overwrites its previous value and type each time it is called.

noticeHttpTransaction (Android SDK API)

Tracks networks requests.

noticeNetworkFailure (Android SDK API)

Records network failures.

recordBreadcrumb (Android SDK API)

Records a MobileBreadcrumb event, useful for crash analysis.

recordCustomEvent (Android SDK API)

Records a custom mobile monitoring event.

recordHandledException (Android SDK API)

Records a handled exception. Optionally takes map with additional attributes showing context.

recordMetric (Android SDK API)

Record custom metrics (arbitrary numerical data).

removeAllAttributes (Android SDK API)

Removes all attributes from the session.

removeAttribute (Android SDK API)

Removes an attribute.

setAttribute (Android SDK API)

Creates a session-level attribute shared by multiple mobile event types. Overwrites its previous value and type each time it is called.

setInteractionName (Android SDK API)

Set a new name for an interaction that is already being tracked by New Relic.

setMaxEventBufferTime (Android SDK API)

Sets the event harvest cycle length.

setMaxEventPoolSize (Android SDK API)

Sets the maximum size of the event pool.

setUserId (Android SDK API)

Set a custom user identifier value to associate user sessions with analytics events and attributes.

startInteraction (Android SDK API)

Create an interaction to instrument a method in your Android app code.

withApplicationBuild (Android SDK API)

Set a custom build identifier string that is associated with an interaction.

withApplicationVersion (Android SDK API)

Set an application version to be associated with an interaction.

withInteractionTracing (Android SDK API)

Globally disable/enable interaction tracing.

問題を作成するこのページを編集する
Copyright © 2020 New Relic Inc.