-
- All Implemented Interfaces:
-
io.embrace.android.embracesdk.internal.EmbraceInternalInterface,io.embrace.android.embracesdk.internal.InternalTracingApi
public interface ReactNativeInternalInterface implements EmbraceInternalInterface
Provides an internal interface to Embrace that is intended for use by the React Native SDK as its sole source of communication with the Android SDK.
-
-
Method Summary
Modifier and Type Method Description abstract UnitlogUnhandledJsException(String name, String message, String type, String stacktrace)abstract UnitlogHandledJsException(String name, String message, Map<String, Object> properties, String stacktrace)abstract UnitsetJavaScriptPatchNumber(String number)abstract UnitsetReactNativeSdkVersion(String version)abstract UnitsetReactNativeVersionNumber(String version)abstract UnitsetJavaScriptBundleUrl(Context context, String url)Sets the React Native Bundle URL. abstract UnitsetCacheableJavaScriptBundleUrl(Context context, String url, Boolean didUpdate)Sets the React Native Bundle URL, indicating if the bundle was updated or not. abstract UnitlogRnAction(String name, Long startTime, Long endTime, Map<String, Object> properties, Integer bytesSent, String output)Logs a React Native Redux Action - this is not intended for public use. abstract UnitlogRnView(String screen)Logs the fact that a particular view was entered. -
Methods inherited from class io.embrace.android.embracesdk.ReactNativeInternalInterface
getSdkCurrentTime, isAnrCaptureEnabled, isInternalNetworkCaptureDisabled, isNdkEnabled, isNetworkSpanForwardingEnabled, logComposeTap, logError, logHandledException, logInfo, logInternalError, logInternalError, logWarning, recordAndDeduplicateNetworkRequest, recordCompletedNetworkRequest, recordIncompleteNetworkRequest, recordIncompleteNetworkRequest, setProcessStartedByNotification, shouldCaptureNetworkBody, stopSdk -
Methods inherited from class io.embrace.android.embracesdk.internal.EmbraceInternalInterface
addSpanAttribute, addSpanEvent, recordCompletedSpan, recordSpan, startSpan, stopSpan -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
logUnhandledJsException
abstract Unit logUnhandledJsException(String name, String message, String type, String stacktrace)
-
logHandledJsException
abstract Unit logHandledJsException(String name, String message, Map<String, Object> properties, String stacktrace)
-
setJavaScriptPatchNumber
abstract Unit setJavaScriptPatchNumber(String number)
-
setReactNativeSdkVersion
abstract Unit setReactNativeSdkVersion(String version)
-
setReactNativeVersionNumber
abstract Unit setReactNativeVersionNumber(String version)
-
setJavaScriptBundleUrl
abstract Unit setJavaScriptBundleUrl(Context context, String url)
Sets the React Native Bundle URL.
- Parameters:
context- the contexturl- the JavaScript bundle URL
-
setCacheableJavaScriptBundleUrl
abstract Unit setCacheableJavaScriptBundleUrl(Context context, String url, Boolean didUpdate)
Sets the React Native Bundle URL, indicating if the bundle was updated or not. If it was updated, the bundle ID will be recomputed. If not, the bundle ID will be retrieved from cache.
- Parameters:
context- the contexturl- the JavaScript bundle URLdidUpdate- if the bundle was updated
-
logRnAction
abstract Unit logRnAction(String name, Long startTime, Long endTime, Map<String, Object> properties, Integer bytesSent, String output)
Logs a React Native Redux Action - this is not intended for public use.
-
-
-
-