Feature - DataDog/dd-sdk-android GitHub Wiki

interface Feature

Interface to be implemented by the feature, which doesn't require any storage, to be registered with SdkCore.

Inheritors

StorageBackedFeature

Types

Feature.Companion

Properties

name

abstract val name: String

Name of the feature.

Functions

onInitialize

abstract fun onInitialize(appContext: Context)

This method is called during feature initialization. At this stage feature should setup itself.

Parameters
appContext Application context.

onStop

abstract fun onStop()

This method is called during feature de-initialization. At this stage feature should stop itself and release resources held.