Please Select Your Location
Australia
Österreich
België
Canada
Canada - Français
中国
Česká republika
Denmark
Deutschland
France
HongKong
Iceland
Ireland
Italia
日本
Korea
Latvija
Lietuva
Lëtzebuerg
Malta
المملكة العربية السعودية (Arabic)
Nederland
New Zealand
Norge
Polska
Portugal
Russia
Saudi Arabia
Southeast Asia
España
Suisse
Suomi
Sverige
台灣
Ukraine
United Kingdom
United States
Please Select Your Location
België
Česká republika
Denmark
Iceland
Ireland
Italia
Latvija
Lietuva
Lëtzebuerg
Malta
Nederland
Norge
Polska
Portugal
España
Suisse
Suomi
Sverige

connect()

Initiates a connection with VIVE AI Glasses.

func connect ( ) throws


Exception

The following exceptions may be thrown: ViveGlassError.UnregisteredAppException.


See also

Connectivity and authentication

func disconnect ()

Requests to disconnect from VIVE AI Glasses.

func isConnected () -> Bool

Checks the current connection status.

Responding from VIVE AI Glasses event

func glasses(didUpdateConnectionState: ConnectionState)

Tells the delegate when the connection state changes.

Error handling and exceptions

enum ViveGlassError

This represents an error thrown by the VIVE AI Glasses SDK.