Lighting UI BizBundle Overview

Last Updated on : 2024-03-19 03:25:44download

Tuya UI BizBundle for Android is a vertical service bundle that encompasses logic modules and UI pages. It enables efficient access to comprehensive service modules provided by Tuya and accelerates your development based on Tuya Commercial Lighting App SDK.

Overview

A bunch of BizBundles are supported, including:

  • Device Pairing UI BizBundle
  • Device Control UI BizBundle

Example

For more information about the example of the UI BizBundle for Android, visit tuya-commercial-lighting-ui-bizbundle-android-sample on GitHub.

Architecture

Tuya UI BizBundles for Android can be integrated as services. All features are provided based on services.

Lighting UI BizBundle Overview

Get services

A BizBundle provides BizCore with a service protocol. Thus, you can call a specific service method to implement the service.

Lighting UI BizBundle Overview

Implement services

Certain service protocols of BizBundles are not implemented by default. For example, the Panel Multilingual BizBundle depends on the device pairing service in specific conditions. If the Device Pairing UI BizBundle is not integrated, this service protocol is not implemented. In this case, you can create a class to implement the required service protocol and register it to BizCore to improve the features of the BizBundle.

Lighting UI BizBundle Overview