react-native-agora-chat
Version:
react native chat sdk
28 lines (26 loc) • 568 B
text/typescript
/**
* The device information class, which contains the information of logged-in devices.
*/
export class ChatDeviceInfo {
/**
* The information of logged-in devices.
*/
resource: string;
/**
* The UUID of the device.
*/
deviceUUID: string;
/**
* The device type, such as "Pixel 6 Pro".
*/
deviceName: string;
constructor(params: {
resource: string;
deviceUUID: string;
deviceName: string;
}) {
this.resource = params.resource;
this.deviceName = params.deviceName;
this.deviceUUID = params.deviceUUID;
}
}