PassiveMonitoringCapabilities

public data final class PassiveMonitoringCapabilities


A place holder class that represents the capabilities of the androidx.health.services.client.PassiveMonitoringClient on the device.

Summary

Public fields

final @NonNull Set<@NonNull DataType>

Set of supported DataType s for event callbacks on this device.

final @NonNull Set<@NonNull DataType>

Set of supported DataType s for background capture on this device.

Public constructors

PassiveMonitoringCapabilities(
    @NonNull Set<@NonNull DataType> supportedDataTypesPassiveMonitoring,
    @NonNull Set<@NonNull DataType> supportedDataTypesEvents
)

Public methods

int
void
writeToParcel(@NonNull Parcel dest, int flags)

Public fields

supportedDataTypesEvents

@NonNull
public final @NonNull Set<@NonNull DataTypesupportedDataTypesEvents

Set of supported DataType s for event callbacks on this device.

supportedDataTypesPassiveMonitoring

@NonNull
public final @NonNull Set<@NonNull DataTypesupportedDataTypesPassiveMonitoring

Set of supported DataType s for background capture on this device.

Some data types are only available during exercise (e.g. location) or for measurements.

Public constructors

PassiveMonitoringCapabilities

public final PassiveMonitoringCapabilities(
    @NonNull Set<@NonNull DataType> supportedDataTypesPassiveMonitoring,
    @NonNull Set<@NonNull DataType> supportedDataTypesEvents
)

Public methods

describeContents

@NonNull
public int describeContents()

writeToParcel

@NonNull
public void writeToParcel(@NonNull Parcel dest, int flags)