Package 

Interface IThingHomeChangeListener

    • Method Summary

      Modifier and Type Method Description
      abstract void onHomeAdded(long homeId) Family added successfully.
      abstract void onHomeInvite(long homeId, String homeName) Family invitation.
      abstract void onHomeRemoved(long homeId) Family deleted successfully.
      abstract void onHomeInfoChanged(long homeId) Family information changed.
      abstract void onSharedDeviceList(List<DeviceBean> sharedDeviceList) Shared device list changes.
      abstract void onSharedGroupList(List<GroupBean> sharedGroupList) Shared group list changes.
      abstract void onServerConnectSuccess() The mobile phone successfully connects to the Thing Cloud server and receives this notification.Local data and server data may be inconsistent or the device cannot be controlled,You can call the getHomeDetail interface under Home to reinitialize the data.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • onHomeAdded

         abstract void onHomeAdded(long homeId)

        Family added successfully.

        Used for multi-device data synchronization.

        Parameters:
        homeId - The id of the family which added.
      • onHomeInvite

         abstract void onHomeInvite(long homeId, String homeName)

        Family invitation.

        Parameters:
        homeId - The id of the family which you are invited to.
        homeName - The name of the family which you are invited to.
      • onHomeRemoved

         abstract void onHomeRemoved(long homeId)

        Family deleted successfully.

        Used for multi-device data synchronization.

        Parameters:
        homeId - The id of the family which removed.
      • onHomeInfoChanged

         abstract void onHomeInfoChanged(long homeId)

        Family information changed.

        Used for multi-device data synchronization.

        Parameters:
        homeId - The id of the family which information that changed.
      • onSharedDeviceList

         abstract void onSharedDeviceList(List<DeviceBean> sharedDeviceList)

        Shared device list changes.

        Used for multi-device data synchronization.

        Parameters:
        sharedDeviceList - The list of shared devices.
      • onSharedGroupList

         abstract void onSharedGroupList(List<GroupBean> sharedGroupList)

        Shared group list changes.

        Used for multi-group data synchronization.

        Parameters:
        sharedGroupList - The list of groups shared.
      • onServerConnectSuccess

         abstract void onServerConnectSuccess()

        The mobile phone successfully connects to the Thing Cloud server and receives this notification.Local data and server data may be inconsistent or the device cannot be controlled,You can call the getHomeDetail interface under Home to reinitialize the data.