package Ġio . re bble . co bble . bluetooth Ċ Ċ import Ġandroid . bluetooth . Bluetooth Device Ċ Ċ sealed Ġclass ĠConnection State Ġ{ ĊĠĠĠ Ġobject ĠDis connected Ġ: ĠConnection State () ĊĠĠĠ Ġclass ĠWaiting For Bluetooth To Enable ( val Ġwatch : ĠBluetooth Device ?) Ġ: ĠConnection State () ĊĠĠĠ Ġclass ĠWaiting For Re connect ( val Ġwatch : ĠBluetooth Device ?) Ġ: ĠConnection State () ĊĠĠĠ Ġclass ĠConnect ing ( val Ġwatch : ĠBluetooth Device ?) Ġ: ĠConnection State () ĊĠĠĠ Ġclass ĠConnected ( val Ġwatch : ĠBluetooth Device ) Ġ: ĠConnection State () Ċ } Ċ Ċ val ĠConnection State . watch OrNull : ĠBluetooth Device ? ĊĠĠĠ Ġget () Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġwhen Ġ( this ) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġis ĠConnection State . Connecting Ġ-> Ġwatch ĊĠĠĠĠĠĠĠĠĠĠĠ Ġis ĠConnection State . Waiting For Re connect Ġ-> Ġwatch ĊĠĠĠĠĠĠĠĠĠĠĠ Ġis ĠConnection State . Connected Ġ-> Ġwatch ĊĠĠĠĠĠĠĠĠĠĠĠ Ġis ĠConnection State . Waiting For Bluetooth To Enable Ġ-> Ġwatch ĊĠĠĠĠĠĠĠĠĠĠĠ ĠConnection State . Disconnected Ġ-> Ġnull ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ}