Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
whilu committed Jan 27, 2016
1 parent bdb2dd4 commit ae94307
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,11 @@ dependencies {
Build the controller in your app with current context(the sdk need this context to register a BroadcastReceiver to receive the bluetooth status), and you may get the singleton ```BluetoothController(BluetoothLEController)``` object, code like that:

```java
// For classic bluetooth
BluetoothController mBTController = BluetoothController.getInstance().build(Context context);
BluetoothLEController mBLEController = BluetoothLEController.getInstance().build(Context context);

// If you make code for BLE
// BluetoothLEController mBLEController = BluetoothLEController.getInstance().build(Context context);
```

### Step 3
Expand Down

0 comments on commit ae94307

Please sign in to comment.