"""
PySide stub files generated by **IceSpringPySideStubs**

Home: https://baijifeilong.github.io/2022/01/06/ice-spring-pyside-stubs/index.html

Github: https://github.com/baijifeilong/IceSpringPySideStubs

PyPI(PySide2): https://pypi.org/project/IceSpringPySideStubs-PySide2

PyPI(PySide6): https://pypi.org/project/IceSpringPySideStubs-PySide6

PyPI(PyQt5): https://pypi.org/project/IceSpringPySideStubs-PyQt5

PyPI(PyQt6): https://pypi.org/project/IceSpringPySideStubs-PyQt6

Generated by BaiJiFeiLong@gmail.com

License: MIT
"""
from PyQt5.QtSensors import *


class QHolsterReading(QSensorReading):
    """
    https://doc.qt.io/qt-5/qholsterreading.html

    **Detailed Description**

    **QHolsterReading Units**

    The holster sensor can detect if a device is holstered or not. A holster is
    a pocket, similar to a gun holster, specifically made for the device. If the
    device is inside of this pocket, it is holstered. The holster supports the
    device in detecting whether the device is holstered or not.
    """

    def setHolstered(self, holstered: bool) -> None:
        """
        https://doc.qt.io/qt-5/qholsterreading.html#setHolstered

        **void QHolsterReading::setHolstered(bool holstered )**

        Sets the holstered value to **holstered**.

        **See also** **holstered** ().
        """
        ...

    def holstered(self) -> bool:
        """
        https://doc.qt.io/qt-5/qholsterreading.html#holstered-prop

        **holstered : const bool**

        This property holds a value indicating whether the device is holstered.

        **Access functions:**

        bool **holstered** () const

        **See also** **QHolsterReading Units** .

        **Member Function Documentation**
        """
        ...
