Stay organized with collections
Save and categorize content based on your preferences.
CapabilityCallback
open class CapabilityCallback
Receives IMS capability status updates from the ImsService.
Summary
Public methods |
open Unit |
The status of the feature's capabilities has changed to either available or unavailable.
|
Public constructors
CapabilityCallback
CapabilityCallback()
Public methods
onCapabilitiesStatusChanged
open fun onCapabilitiesStatusChanged(capabilities: MmTelFeature.MmTelCapabilities): Unit
The status of the feature's capabilities has changed to either available or unavailable. If unavailable, the feature is not able to support the unavailable capability at this time.
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-02-10 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-02-10 UTC."],[],[],null,["# ImsMmTelManager.CapabilityCallback\n\nAdded in [API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nCapabilityCallback\n==================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/telephony/ims/ImsMmTelManager.CapabilityCallback \"View this page in Java\") \n\n```\nopen class CapabilityCallback\n```\n\n|---|---------------------------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||\n| ↳ | [android.telephony.ims.ImsMmTelManager.CapabilityCallback](#) |\n\nReceives IMS capability status updates from the ImsService.\n\nSummary\n-------\n\n| Public constructors ||\n|--------------------------------------------------------|---|\n| [CapabilityCallback](#CapabilityCallback())`()` \u003cbr /\u003e |\n\n| Public methods ||\n|-----------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| open [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [onCapabilitiesStatusChanged](#onCapabilitiesStatusChanged(android.telephony.ims.feature.MmTelFeature.MmTelCapabilities))`(`capabilities:` `[MmTelFeature.MmTelCapabilities](/reference/kotlin/android/telephony/ims/feature/MmTelFeature.MmTelCapabilities)`)` The status of the feature's capabilities has changed to either available or unavailable. |\n\nPublic constructors\n-------------------\n\n### CapabilityCallback\n\n```\nCapabilityCallback()\n```\n\nPublic methods\n--------------\n\n### onCapabilitiesStatusChanged\n\nAdded in [API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nopen fun onCapabilitiesStatusChanged(capabilities: MmTelFeature.MmTelCapabilities): Unit\n```\n\nThe status of the feature's capabilities has changed to either available or unavailable. If unavailable, the feature is not able to support the unavailable capability at this time.\n\n| Parameters ||\n|----------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `capabilities` | [MmTelFeature.MmTelCapabilities](/reference/kotlin/android/telephony/ims/feature/MmTelFeature.MmTelCapabilities): The new availability of the capabilities. This value cannot be `null`. |"]]