hyphenate_SDK4.0 4.8.0
hyphenate java IM SDK
|
Inherits com.hyphenate.chat.EMBase< T >.
Public Member Functions | |
String | getResource () |
String | getDeviceUUID () |
String | getDeviceName () |
The Multi-device information. You can call EMClient#getLoggedInDevicesFromServer(String, String) to get the related information.
String com.hyphenate.chat.EMDeviceInfo.getDeviceName | ( | ) |
Gets the device model name.If the user defines the device name, the device name is the user-defined one.
String com.hyphenate.chat.EMDeviceInfo.getDeviceUUID | ( | ) |
Gets the UUID of the device.
String com.hyphenate.chat.EMDeviceInfo.getResource | ( | ) |
Gets the information of the other logged in devices.
Through the device information, you can distinguish the device type, for example: