AdaptiveCardExtensionContext class

Adaptive Card Extension context object.

Extends

Remarks

The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the AdaptiveCardExtensionContext class.

Properties

deviceContext
location

Provides a promise that gets current location of the device

manifest

See BaseComponentContext.manifest

propertyPane

See IPropertyPaneAccessor

sdks

Provides a sdk that gets current context of device. See IPartialSDKs

Property Details

deviceContext

get deviceContext(): DeviceContext;

Property Value

location

Note

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Provides a promise that gets current location of the device

get location(): Promise<ILocation>;

Property Value

Promise<ILocation>

manifest

See BaseComponentContext.manifest

readonly manifest: IAdaptiveCardExtensionManifest<unknown>;

Property Value

propertyPane

See IPropertyPaneAccessor

get propertyPane(): IPropertyPaneAccessor | undefined;

Property Value

IPropertyPaneAccessor | undefined

sdks

Provides a sdk that gets current context of device. See IPartialSDKs

get sdks(): IPartialSDKs | undefined;

Property Value

IPartialSDKs | undefined