Tuya MiniApp
  • Introduction
  • Development
  • Solution
Panel Development Solution
AI Application Development Solution
Full-scenario Application Solution
DEVELOPER DOCS
  • Introduction
  • Usage Scenarios
  • Solutions
    • General Category Capabilities
      • Core Capabilities
      • Panel Multi-language
      • Smart Device Model
      • Smart Group Model
        • Usage
          • constructor
          • init
          • onInitialized
          • offInitialized
          • getDevInfo
          • getGroupInfo
          • getDpSchema
          • getDpState
          • getNetwork
          • getBluetooth
          • publishDps
          • queryDps
          • destroy
          • onDpDataChange
          • onDeviceOnlineStatusUpdate
          • onDeviceInfoUpdated
          • onNetworkStatusChange
          • onBluetoothAdapterStateChange
          • offDpDataChange
          • offDeviceOnlineStatusUpdate
          • offDeviceInfoUpdated
          • offNetworkStatusChange
          • offBluetoothAdapterStateChange
          • onGroupDpDataChangeEvent
          • onGroupInfoChange
          • offGroupDpDataChangeEvent
          • offGroupInfoChange
      • Function Point Parsing Set
      • Hooks
      • Utility Methods
    • Vertical Category Capabilities
  • Use Cases

SmartGroupModel.offDeviceInfoUpdated(id: number)

Requires:
@ray-js/panel-sdk≥1.5.0

Description

Unsubscribe from smart group device info change events

Parameters

ParameterTypeRequiredDescription
idnumberYesListener ID returned by onDeviceInfoUpdated

Return Value

Type: void
void

Examples

Example

const id = group.onDeviceInfoUpdated((data) => {
  console.log('Group info changed:', data);
});
// Unregister when needed
group.offDeviceInfoUpdated(id);
Previous pageoffDeviceOnlineStatusUpdateNext pageoffNetworkStatusChange
On this page