On September 25th, 2024, we released v2 of the Apps SDK. To learn what’s new and how to upgrade, see Migration FAQ and Migration guide.

features.registerOnSupportChange

API reference for the features.registerOnSupportChange method.
This version of the API is a preview. Preview APIs are unstable and may change without warning. You can't release public apps using this API until it's stable.

Registers an event listener for changes in what SDK methods are currently supported.

Parameters

onSupportChangefunctionRequired

A callback that gets fired upon any change to the feature support context.

Returns

void

Returns

Disposes an event listener.

() => void