Skip to content

digaus/community-capacitor-wifi

Repository files navigation

API

getIP()

getIP() => Promise<{ ip: string | null; }>

Returns: Promise<{ ip: string | null; }>


getSSID()

getSSID() => Promise<{ ssid: string | null; }>

Returns: Promise<{ ssid: string | null; }>


connect(...)

connect(options: { ssid: string; password?: string; joinOnce?: boolean; isHiddenSsid?: boolean; }) => Promise<{ ssid: string | null; }>
Param Type
options { ssid: string; password?: string; joinOnce?: boolean; isHiddenSsid?: boolean; }

Returns: Promise<{ ssid: string | null; }>


connectPrefix(...)

connectPrefix(options: { ssid: string; password?: string; joinOnce?: boolean; }) => Promise<{ ssid: string | null; }>
Param Type
options { ssid: string; password?: string; joinOnce?: boolean; }

Returns: Promise<{ ssid: string | null; }>


disconnect()

disconnect() => Promise<void>