UNPKG

@iotize/ionic

Version:

Iotize specific building blocks on top of @ionic/angular.

36 lines (35 loc) 994 B
type CordovaNetworkScanResult = { domain: string; type: string; name: string | null; port: number; hostname: string; ipv4Addresses: string[]; ipv6Addresses?: string[]; txtRecord?: Record<string, any>; [key: string]: any; } & { host: string | undefined; }; type CordovaWifiScanResult = { level: number; SSID: string; BSSID: string; frequency: number; capabilities: number; timestamp: number; /** * only supported on API > 23 (Marshmallow), any older API will return null for these values */ channelWidth: number | null; /** * only supported on API > 23 (Marshmallow), any older API will return null for these values */ centerFreq0: number | null; /** * only supported on API > 23 (Marshmallow), any older API will return null for these values */ centerFreq1: number | null; }; export type WifiDiscoveredDeviceType = CordovaNetworkScanResult | CordovaWifiScanResult; export {};