ConnectSDK / Connect-SDK-Android-Core

Core source code for the Android Connect SDK project
Apache License 2.0
114 stars 79 forks source link

Add set pairing type to DeviceService and ConnectableDevice #38

Closed oleksii-frolov closed 9 years ago

oleksii-frolov commented 9 years ago

This pull request adds a method setPairingType to ConnectableDevice and to DeviceService and it can be used for example in this way in the Sampler method setupPicker:

    mTV = (ConnectableDevice)arg0.getItemAtPosition(arg2);
    mTV.addListener(deviceListener);
    mTV.setPairingType(PairingType.PIN_CODE);
    mTV.connect();
tdclayton84 commented 9 years ago

roku3

oleksii-frolov commented 9 years ago

@tdclayton84 What do you mean?