目录

LiveViewCardExtensionContext

LiveViewCardExtensionContext is the context of LiveViewCardExtensionAbility and inherits from ExtensionContext. This class does not explicitly define specific attributes or methods in its API definition. Its functionality is primarily inherited from common context capabilities of ExtensionContext. LiveViewCardExtensionContext is primarily used to query information about the belonging LiveViewCardExtensionAbility, module configuration, and HAP package. You can use the corresponding information based on the service requirements.

Since: 26.0.0

Modules to Import

import { LiveViewCardExtensionContext } from '@kit.LiveViewKit';

Device behavior differences: This module is supported on phones and tablets, but does not respond on other device types.

LiveViewCardExtensionContext

Model restriction: This attribute can be used only in the stage model.

System capability: SystemCapability.LiveView.LiveViewService

Device behavior differences: This API is supported on phones and tablets, but does not respond on other device types.

Since: 26.0.0