Quellcode durchsuchen

threema.d.ts: Document ClientInfo fields

Danilo Bargen vor 6 Jahren
Ursprung
Commit
a5d35ff5dd
1 geänderte Dateien mit 13 neuen und 0 gelöschten Zeilen
  1. 13 0
      src/threema.d.ts

+ 13 - 0
src/threema.d.ts

@@ -661,12 +661,25 @@ declare namespace threema {
     }
 
     interface ClientInfo {
+        // The device name
         device: string;
+
+        // The operating system
         os: OperatingSystem;
+
+        // The operating system version (e.g. "5.1")
         osVersion: string;
+
+        // Whether the app is the *work* variant of Threema
         isWork: boolean;
+
+        // The GCM / APNS push token
         pushToken?: string;
+
+        // The device configuration
         configuration: AppConfig;
+
+        // The device capabilities
         capabilities: AppCapabilities;
     }