Skip to content

Commit 6a2d5fa

Browse files
authored
Merge pull request ParticulaCode#1 from Geek5510/patch-1
Added attempt reconnect to readme
2 parents ae086d5 + a2f5158 commit 6a2d5fa

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,13 @@ Requests:
9393
getBatteryLevel()
9494
```
9595
96+
```javascript
97+
/**
98+
* Attempts to recconect to dice's bluetooth device, incase the device is already connected
99+
* If the reconnection was successful an onDiceConnected event will follow
100+
**/
101+
attemptReconnect()
102+
96103
```javascript
97104
/**
98105
* Sets the die type for the die value calculations, Use GoDice.diceTypes.X for die type.

0 commit comments

Comments
 (0)