目录

PushExtensionContext

PushExtensionContext is the context of PushExtensionAbility, and inherits from ExtensionContext without adding any new content. It provides the capability for accessing resources of PushExtensionAbility.

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

System capability: SystemCapability.Push.PushService

Since: 4.0.0(10)

Modules to Import

import { PushExtensionContext } from '@kit.PushKit';

PushExtensionContext

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

System capability: SystemCapability.Push.PushService

Since: 4.0.0(10)