Language

DeviceDataTypeSource.IsAvailable Property

Definition

Returns whether this data type is currently available from the device.

public bool IsAvailable { [Android.Runtime.Register("isAvailable", "()Z", "", ApiSince=37)] get; }
[<get: Android.Runtime.Register("isAvailable", "()Z", "", ApiSince=37)>]
member this.IsAvailable : bool

Property Value

Returns whether this data type is currently available from the device.

Attributes

Remarks

Returns whether this data type is currently available from the device.

This may be false if, for example, the device is disconnected or out of range.

Android reference for android.health.connect.DeviceDataTypeSource.isAvailable.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to