| getContext(component: Object): Object | Obtains the **Context** object associated with a component on the page.|
| getContext(component: Object): Object | Obtains the **Context** object associated with a component on the page.<br>Since API version 9, this API is supported in ArkTS widgets.|