matrix-react-sdk
Version:
SDK for matrix.org using React
14 lines (13 loc) • 368 B
TypeScript
export declare enum DeviceType {
Desktop = "Desktop",
Mobile = "Mobile",
Web = "Web",
Unknown = "Unknown"
}
export type ExtendedDeviceInformation = {
deviceType: DeviceType;
deviceModel?: string;
deviceOperatingSystem?: string;
client?: string;
};
export declare const parseUserAgent: (userAgent?: string) => ExtendedDeviceInformation;