Skip to content

Commit

Permalink
Correct spelling error of the documentation of BluetoothClient (#2939)
Browse files Browse the repository at this point in the history
  • Loading branch information
gordonlu310 committed Aug 11, 2023
1 parent b721409 commit 914a0e2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Expand Up @@ -194,7 +194,7 @@ public final void Disconnect() {
}

/**
* Returns `frue`{:.logic.block} if a connection to a Bluetooth device has been made.
* Returns `true`{:.logic.block} if a connection to a Bluetooth device has been made.
*/
@SimpleProperty(category = PropertyCategory.BEHAVIOR,
description = "On devices with API level 14 (LEVEL_ICE_CREAM_SANDWICH) or higher, " +
Expand Down
4 changes: 2 additions & 2 deletions appinventor/docs/html/reference/components/connectivity.html
Expand Up @@ -267,7 +267,7 @@ <h3 id="BluetoothClient-Properties">Properties</h3>
<dd>Specifies whether numbers are sent and received with the most significant
byte first.</dd>
<dt id="BluetoothClient.IsConnected" class="boolean ro bo"><em>IsConnected</em></dt>
<dd>Returns <code class="logic block highlighter-rouge">frue</code> if a connection to a Bluetooth device has been made.</dd>
<dd>Returns <code class="logic block highlighter-rouge">true</code> if a connection to a Bluetooth device has been made.</dd>
<dt id="BluetoothClient.NoLocationNeeded" class="boolean do"><em>NoLocationNeeded</em></dt>
<dd>On Android 12 and later, indicates that Bluetooth is not used to determine the user’s location.</dd>
<dt id="BluetoothClient.PollingRate" class="number"><em>PollingRate</em></dt>
Expand Down Expand Up @@ -386,7 +386,7 @@ <h3 id="BluetoothServer-Properties">Properties</h3>
<dd>Returns true if this BluetoothServer component is accepting an
incoming connection.</dd>
<dt id="BluetoothServer.IsConnected" class="boolean ro bo"><em>IsConnected</em></dt>
<dd>Returns <code class="logic block highlighter-rouge">frue</code> if a connection to a Bluetooth device has been made.</dd>
<dd>Returns <code class="logic block highlighter-rouge">true</code> if a connection to a Bluetooth device has been made.</dd>
<dt id="BluetoothServer.Secure" class="boolean"><em>Secure</em></dt>
<dd>Specifies whether a secure connection should be used.</dd>
</dl>
Expand Down
Expand Up @@ -154,7 +154,7 @@ Use `BluetoothClient` to connect your device to other devices using Bluetooth. T
byte first.

{:id="BluetoothClient.IsConnected" .boolean .ro .bo} *IsConnected*
: Returns `frue`{:.logic.block} if a connection to a Bluetooth device has been made.
: Returns `true`{:.logic.block} if a connection to a Bluetooth device has been made.

{:id="BluetoothClient.NoLocationNeeded" .boolean .do} *NoLocationNeeded*
: On Android 12 and later, indicates that Bluetooth is not used to determine the user's location.
Expand Down Expand Up @@ -297,7 +297,7 @@ Use the `BluetoothServer` component to turn your device into a server that recei
incoming connection.

{:id="BluetoothServer.IsConnected" .boolean .ro .bo} *IsConnected*
: Returns `frue`{:.logic.block} if a connection to a Bluetooth device has been made.
: Returns `true`{:.logic.block} if a connection to a Bluetooth device has been made.

{:id="BluetoothServer.Secure" .boolean} *Secure*
: Specifies whether a secure connection should be used.
Expand Down

0 comments on commit 914a0e2

Please sign in to comment.