-
public interface PairingInterface
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfacePairingInterface.Delegate
-
Method Summary
Modifier and Type Method Description abstract Unitinitialize()abstract Core.Model.Pairingcreate(Function1<Core.Model.Error, Unit> onError)Caution: This function is blocking and runs on the current thread. abstract Core.Model.Pairingcreate(Function1<Core.Model.Error, Unit> onError, String methods)Caution: This function is blocking and runs on the current thread. abstract Unitpair(Core.Params.Pair pair, Function1<Core.Params.Pair, Unit> onSuccess, Function1<Core.Model.Error, Unit> onError)abstract Unitdisconnect(String topic, Function1<Core.Model.Error, Unit> onError)abstract Unitdisconnect(Core.Params.Disconnect disconnect, Function1<Core.Model.Error, Unit> onError)abstract Unitping(Core.Params.Ping ping, Core.Listeners.PairingPing pairingPing)abstract List<Core.Model.Pairing>getPairings()Caution: This function is blocking and runs on the current thread. abstract BooleanvalidatePairingUri(String uri)abstract UnitsetDelegate(PairingInterface.Delegate delegate)-
-
Method Detail
-
initialize
abstract Unit initialize()
-
create
abstract Core.Model.Pairing create(Function1<Core.Model.Error, Unit> onError)
Caution: This function is blocking and runs on the current thread. It is advised that this function be called from background operation
-
create
abstract Core.Model.Pairing create(Function1<Core.Model.Error, Unit> onError, String methods)
Caution: This function is blocking and runs on the current thread. It is advised that this function be called from background operation
-
pair
abstract Unit pair(Core.Params.Pair pair, Function1<Core.Params.Pair, Unit> onSuccess, Function1<Core.Model.Error, Unit> onError)
-
disconnect
abstract Unit disconnect(String topic, Function1<Core.Model.Error, Unit> onError)
-
disconnect
abstract Unit disconnect(Core.Params.Disconnect disconnect, Function1<Core.Model.Error, Unit> onError)
-
ping
abstract Unit ping(Core.Params.Ping ping, Core.Listeners.PairingPing pairingPing)
-
getPairings
abstract List<Core.Model.Pairing> getPairings()
Caution: This function is blocking and runs on the current thread. It is advised that this function be called from background operation
-
validatePairingUri
abstract Boolean validatePairingUri(String uri)
-
setDelegate
abstract Unit setDelegate(PairingInterface.Delegate delegate)
-
-
-
-