Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
org.qtproject.qt.android.bluetooth.QtBluetoothBroadcastReceiver Class Reference
+ Inheritance diagram for org.qtproject.qt.android.bluetooth.QtBluetoothBroadcastReceiver:
+ Collaboration diagram for org.qtproject.qt.android.bluetooth.QtBluetoothBroadcastReceiver:

Public Member Functions

void onReceive (Context context, Intent intent)
 
void unregisterReceiver ()
 
native void jniOnReceive (long qtObject, Context context, Intent intent)
 

Static Public Member Functions

static void setContext (Context context)
 
static boolean setDisabled ()
 
static boolean setDiscoverable ()
 
static boolean setEnabled ()
 
static boolean setPairingMode (String address, boolean isPairing)
 
static String[] getConnectedDevices ()
 

Static Public Attributes

static final String ACTION_REQUEST_DISABLE
 

Detailed Description

Definition at line 21 of file QtBluetoothBroadcastReceiver.java.

Member Function Documentation

◆ getConnectedDevices()

static String[] org.qtproject.qt.android.bluetooth.QtBluetoothBroadcastReceiver.getConnectedDevices ( )
inlinestatic

Definition at line 162 of file QtBluetoothBroadcastReceiver.java.

References add(), and TAG.

+ Here is the call graph for this function:

◆ jniOnReceive()

native void org.qtproject.qt.android.bluetooth.QtBluetoothBroadcastReceiver.jniOnReceive ( long qtObject,
Context context,
Intent intent )

Referenced by org.qtproject.qt.android.bluetooth.QtBluetoothBroadcastReceiver.onReceive().

+ Here is the caller graph for this function:

◆ onReceive()

void org.qtproject.qt.android.bluetooth.QtBluetoothBroadcastReceiver.onReceive ( Context context,
Intent intent )
inline

Definition at line 40 of file QtBluetoothBroadcastReceiver.java.

References context, and org.qtproject.qt.android.bluetooth.QtBluetoothBroadcastReceiver.jniOnReceive().

+ Here is the call graph for this function:

◆ setContext()

static void org.qtproject.qt.android.bluetooth.QtBluetoothBroadcastReceiver.setContext ( Context context)
inlinestatic

Definition at line 64 of file QtBluetoothBroadcastReceiver.java.

References context.

◆ setDisabled()

static boolean org.qtproject.qt.android.bluetooth.QtBluetoothBroadcastReceiver.setDisabled ( )
inlinestatic

◆ setDiscoverable()

static boolean org.qtproject.qt.android.bluetooth.QtBluetoothBroadcastReceiver.setDiscoverable ( )
inlinestatic

Definition at line 89 of file QtBluetoothBroadcastReceiver.java.

References TAG.

◆ setEnabled()

static boolean org.qtproject.qt.android.bluetooth.QtBluetoothBroadcastReceiver.setEnabled ( )
inlinestatic

Definition at line 108 of file QtBluetoothBroadcastReceiver.java.

References TAG.

◆ setPairingMode()

static boolean org.qtproject.qt.android.bluetooth.QtBluetoothBroadcastReceiver.setPairingMode ( String address,
boolean isPairing )
inlinestatic

Definition at line 126 of file QtBluetoothBroadcastReceiver.java.

References device, manager, and methodName().

+ Here is the call graph for this function:

◆ unregisterReceiver()

void org.qtproject.qt.android.bluetooth.QtBluetoothBroadcastReceiver.unregisterReceiver ( )
inline

Definition at line 50 of file QtBluetoothBroadcastReceiver.java.

References TAG.

Member Data Documentation

◆ ACTION_REQUEST_DISABLE

final String org.qtproject.qt.android.bluetooth.QtBluetoothBroadcastReceiver.ACTION_REQUEST_DISABLE
static
Initial value:
=
"android.bluetooth.adapter.action.REQUEST_DISABLE"

Definition at line 35 of file QtBluetoothBroadcastReceiver.java.

Referenced by org.qtproject.qt.android.bluetooth.QtBluetoothBroadcastReceiver.setDisabled().


The documentation for this class was generated from the following file: