Intelligent Assistant
Chat with our virtual assistant to get answers promptly.
PushExtensionContext is the context of PushExtensionAbility, and inherits from ExtensionContext.
Model restriction: This API can be used only in the stage model.
System capability: SystemCapability.Push.PushService
Since: 4.0.0(10)
import { PushExtensionContext } from '@kit.PushKit'; Model restriction: This attribute can be used only in the stage model.
System capability: SystemCapability.Push.PushService
Device behavior differences: For versions earlier than 5.1.0(18), this attribute is supported on phones, tablets, and PCs/2-in-1 devices, but does not work on other devices. For version 5.1.0(18), this attribute is supported on phones, tablets, PCs/2-in-1 devices, and wearables, but does not work on other devices. For version 5.1.1(19) or later, this attribute is supported on phones, tablets, PCs/2-in-1 devices, wearables, and TVs.
Since: 4.0.0(10)
This class inherits from ExtensionContext, and no content is added.