Stay organized with collections
Save and categorize content based on your preferences.
interface Availability
Availability of a DataType
.
Summary
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-05-15 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-15 UTC."],[],[],null,["# Availability\n============\n\nArtifact: [androidx.health:health-services-client](/jetpack/androidx/releases/health) \n[View Source](https://cs.android.com/search?q=file:androidx/health/services/client/data/Availability.kt+class:androidx.health.services.client.data.Availability) \nAdded in [1.0.0](/jetpack/androidx/releases/health#1.0.0)\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/androidx/health/services/client/data/Availability \"View this page in Java\")\n\n\n```\ninterface Availability\n```\n\n\u003cbr /\u003e\n\nKnown direct subclasses \n[DataTypeAvailability](/reference/kotlin/androidx/health/services/client/data/DataTypeAvailability), [LocationAvailability](/reference/kotlin/androidx/health/services/client/data/LocationAvailability) \n\n|-----------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------|\n| [DataTypeAvailability](/reference/kotlin/androidx/health/services/client/data/DataTypeAvailability) | Availability of a [DataType](/reference/kotlin/androidx/health/services/client/data/DataType). |\n| [LocationAvailability](/reference/kotlin/androidx/health/services/client/data/LocationAvailability) | Availability of a [DataType.LOCATION](/reference/kotlin/androidx/health/services/client/data/DataType#LOCATION()) data type. |\n\n*** ** * ** ***\n\nAvailability of a [DataType](/reference/kotlin/androidx/health/services/client/data/DataType).\n\nSummary\n-------\n\n| ### Public properties |\n|-----------------------------------------------------------------------------|--------------------------------------------------------------------------------|\n| [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [id](/reference/kotlin/androidx/health/services/client/data/Availability#id()) |\n\nPublic properties\n-----------------\n\n### id\n\nAdded in [1.0.0](/jetpack/androidx/releases/health#1.0.0) \n\n```\nval id: Int\n```"]]