Alternative#

The Alternative class stores attributes of a Bluetooth Data Element Alternative. More

Synopsis#

Functions#

Static functions#

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description#

class PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative#

PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative(list)

Parameters:

list – .list of QVariant

Constructs a new empty alternative.

Constructs a new alternative that is a copy of list.

PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.append(l)#
Parameters:

l – .list of QVariant

PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.append(arg__1)
Parameters:

arg__1 – object

PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.at(i)#
Parameters:

i – int

Return type:

object

PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.back()#
Return type:

object

PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.capacity()#
Return type:

int

PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.clear()#
PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.constData()#
Return type:

object

PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.constFirst()#
Return type:

object

PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.constLast()#
Return type:

object

PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.count()#
Return type:

int

PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.data()#
Return type:

object

PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.empty()#
Return type:

bool

PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.first()#
Return type:

object

PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.first(n)
Parameters:

n – int

Return type:

.list of QVariant

static PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.fromList(list)#
Parameters:

list – .list of QVariant

Return type:

.list of QVariant

static PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.fromVector(vector)#
Parameters:

vector – .list of QVariant

Return type:

.list of QVariant

PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.front()#
Return type:

object

PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.insert(arg__1, arg__2)#
Parameters:
  • arg__1 – int

  • arg__2 – object

PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.isEmpty()#
Return type:

bool

PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.isSharedWith(other)#
Parameters:

other – .list of QVariant

Return type:

bool

PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.last()#
Return type:

object

PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.last(n)
Parameters:

n – int

Return type:

.list of QVariant

PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.length()#
Return type:

int

PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.mid(pos[, len=-1])#
Parameters:
  • pos – int

  • len – int

Return type:

.list of QVariant

PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.move(from, to)#
Parameters:
  • from – int

  • to – int

PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.__add__(l)#
Parameters:

l – .list of QVariant

Return type:

.list of QVariant

PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.__iadd__(l)#
Parameters:

l – .list of QVariant

Return type:

.list of QVariant

PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.__lshift__(l)#
Parameters:

l – .list of QVariant

Return type:

.list of QVariant

PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.operator(i)#
Parameters:

i – int

Return type:

object

PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.pop_back()#
PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.pop_front()#
PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.prepend(arg__1)#
Parameters:

arg__1 – object

PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.push_back(arg__1)#
Parameters:

arg__1 – object

PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.push_front(arg__1)#
Parameters:

arg__1 – object

PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.remove(i[, n=1])#
Parameters:
  • i – int

  • n – int

PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.removeAll(arg__1)#
Parameters:

arg__1 – object

PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.removeAt(i)#
Parameters:

i – int

PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.removeFirst()#
PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.removeLast()#
PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.removeOne(arg__1)#
Parameters:

arg__1 – object

PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.reserve(size)#
Parameters:

size – int

PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.resize(size)#
Parameters:

size – int

PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.shrink_to_fit()#
PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.size()#
Return type:

int

PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.sliced(pos)#
Parameters:

pos – int

Return type:

.list of QVariant

PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.sliced(pos, n)
Parameters:
  • pos – int

  • n – int

Return type:

.list of QVariant

PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.squeeze()#
PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.swap(other)#
Parameters:

other – .list of QVariant

PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.swapItemsAt(i, j)#
Parameters:
  • i – int

  • j – int

PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.takeAt(i)#
Parameters:

i – int

Return type:

object

PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.toList()#
Return type:

.list of QVariant

PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.toVector()#
Return type:

.list of QVariant

PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.value(i)#
Parameters:

i – int

Return type:

object