Alternative#
The Alternative class stores attributes of a Bluetooth Data Element Alternative. More…
Synopsis#
Functions#
def
append(l)def
append(arg__1)def
at(i)def
back()def
capacity()def
clear()def
constData()def
constFirst()def
constLast()def
count()def
data()def
empty()def
first()def
first(n)def
front()def
insert(arg__1, arg__2)def
isEmpty()def
isSharedWith(other)def
last()def
last(n)def
length()def
mid(pos[, len=-1])def
move(from, to)def
__add__(l)def
__iadd__(l)def
__lshift__(l)def
operator[](i)def
pop_back()def
pop_front()def
prepend(arg__1)def
push_back(arg__1)def
push_front(arg__1)def
remove(i[, n=1])def
removeAll(arg__1)def
removeAt(i)def
removeFirst()def
removeLast()def
removeOne(arg__1)def
reserve(size)def
resize(size)def
shrink_to_fit()def
size()def
sliced(pos)def
sliced(pos, n)def
squeeze()def
swap(other)def
swapItemsAt(i, j)def
takeAt(i)def
toList()def
toVector()def
value(i)
Static functions#
def
fromList(list)def
fromVector(vector)
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 –
Constructs a new empty alternative.
Constructs a new alternative that is a copy of list.
- PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.append(l)#
- Parameters:
l –
- PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.append(arg__1)
- Parameters:
arg__1 – object
- PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.at(i)#
- Parameters:
i –
qsizetype- Return type:
object
- PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.back()#
- Return type:
object
- PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.capacity()#
- Return type:
qsizetype
- 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:
qsizetype
- 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 –
qsizetype- Return type:
- static PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.fromList(list)#
- Parameters:
list –
- Return type:
- static PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.fromVector(vector)#
- Parameters:
vector –
- Return type:
- PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.front()#
- Return type:
object
- PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.insert(arg__1, arg__2)#
- Parameters:
arg__1 –
qsizetypearg__2 – object
- PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.isEmpty()#
- Return type:
bool
- Parameters:
other –
- Return type:
bool
- PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.last()#
- Return type:
object
- PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.last(n)
- Parameters:
n –
qsizetype- Return type:
- PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.length()#
- Return type:
qsizetype
- PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.mid(pos[, len=-1])#
- Parameters:
pos –
qsizetypelen –
qsizetype
- Return type:
- PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.move(from, to)#
- Parameters:
from –
qsizetypeto –
qsizetype
- PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.__add__(l)#
- Parameters:
l –
- Return type:
- PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.__iadd__(l)#
- Parameters:
l –
- Return type:
- PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.__lshift__(l)#
- Parameters:
l –
- Return type:
- PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.operator[](i)
- Parameters:
i –
qsizetype- 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 –
qsizetypen –
qsizetype
- PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.removeAll(arg__1)#
- Parameters:
arg__1 – object
- PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.removeAt(i)#
- Parameters:
i –
qsizetype
- 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 –
qsizetype
- PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.resize(size)#
- Parameters:
size –
qsizetype
- PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.shrink_to_fit()#
- PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.size()#
- Return type:
qsizetype
- PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.sliced(pos)#
- Parameters:
pos –
qsizetype- Return type:
- PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.sliced(pos, n)
- Parameters:
pos –
qsizetypen –
qsizetype
- Return type:
- PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.squeeze()#
- PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.swap(other)#
- Parameters:
other –
- PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.swapItemsAt(i, j)#
- Parameters:
i –
qsizetypej –
qsizetype
- PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.takeAt(i)#
- Parameters:
i –
qsizetype- Return type:
object
- PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.toList()#
- Return type:
- PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.toVector()#
- Return type:
- PySide6.QtBluetooth.QBluetoothServiceInfo.Alternative.value(i)#
- Parameters:
i –
qsizetype- Return type:
object