Class NetworkChangeEvent
-
- All Implemented Interfaces:
-
io.opentelemetry.android.semconv.events.OpenTelemetryEvent
public final class NetworkChangeEvent implements OpenTelemetryEvent
<p>This event indicates that Android network connectivity changed.</p> <p>Notes:</p> <p>none</p>
-
-
Field Summary
Fields Modifier and Type Field Description private final StringnetworkStatus
-
Constructor Summary
Constructors Constructor Description NetworkChangeEvent(String networkStatus)
-
Method Summary
Modifier and Type Method Description final StringgetNetworkStatus()<p>The Android network status after a network change.</p> Unitemit(Logger logger, Attributes additionalAttributes)Emits this event through logger, including any additionalAttributes. -
-
Constructor Detail
-
NetworkChangeEvent
NetworkChangeEvent(String networkStatus)
-
-
Method Detail
-
getNetworkStatus
final String getNetworkStatus()
<p>The Android network status after a network change.</p>
-
emit
Unit emit(Logger logger, Attributes additionalAttributes)
Emits this event through logger, including any additionalAttributes.
-
-
-
-