Documentation ¶
Overview ¶
SPDX-FileCopyrightText: 2018 - 2023 UnionTech Software Technology Co., Ltd.
SPDX-License-Identifier: GPL-3.0-or-later
SPDX-FileCopyrightText: 2018 - 2023 UnionTech Software Technology Co., Ltd.
SPDX-License-Identifier: GPL-3.0-or-later
Index ¶
- type MockInterfaceSensorProxy
- func (v *MockInterfaceSensorProxy) AccelerometerOrientation() proxy.PropString
- func (v *MockInterfaceSensorProxy) ClaimAccelerometer(flags dbus.Flags) error
- func (v *MockInterfaceSensorProxy) ClaimLight(flags dbus.Flags) error
- func (v *MockInterfaceSensorProxy) GoClaimAccelerometer(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceSensorProxy) GoClaimLight(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceSensorProxy) GoReleaseAccelerometer(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceSensorProxy) GoReleaseLight(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceSensorProxy) HasAccelerometer() proxy.PropBool
- func (v *MockInterfaceSensorProxy) HasAmbientLight() proxy.PropBool
- func (v *MockInterfaceSensorProxy) LightLevel() proxy.PropDouble
- func (v *MockInterfaceSensorProxy) LightLevelUnit() proxy.PropString
- func (v *MockInterfaceSensorProxy) ReleaseAccelerometer(flags dbus.Flags) error
- func (v *MockInterfaceSensorProxy) ReleaseLight(flags dbus.Flags) error
- type MockSensorProxy
- type SensorProxy
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockInterfaceSensorProxy ¶
func (*MockInterfaceSensorProxy) AccelerometerOrientation ¶
func (v *MockInterfaceSensorProxy) AccelerometerOrientation() proxy.PropString
func (*MockInterfaceSensorProxy) ClaimAccelerometer ¶
func (v *MockInterfaceSensorProxy) ClaimAccelerometer(flags dbus.Flags) error
func (*MockInterfaceSensorProxy) ClaimLight ¶
func (v *MockInterfaceSensorProxy) ClaimLight(flags dbus.Flags) error
func (*MockInterfaceSensorProxy) GoClaimAccelerometer ¶
func (v *MockInterfaceSensorProxy) GoClaimAccelerometer(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceSensorProxy) GoClaimLight ¶
func (v *MockInterfaceSensorProxy) GoClaimLight(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceSensorProxy) GoReleaseAccelerometer ¶
func (v *MockInterfaceSensorProxy) GoReleaseAccelerometer(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceSensorProxy) GoReleaseLight ¶
func (v *MockInterfaceSensorProxy) GoReleaseLight(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceSensorProxy) HasAccelerometer ¶
func (v *MockInterfaceSensorProxy) HasAccelerometer() proxy.PropBool
func (*MockInterfaceSensorProxy) HasAmbientLight ¶
func (v *MockInterfaceSensorProxy) HasAmbientLight() proxy.PropBool
func (*MockInterfaceSensorProxy) LightLevel ¶
func (v *MockInterfaceSensorProxy) LightLevel() proxy.PropDouble
func (*MockInterfaceSensorProxy) LightLevelUnit ¶
func (v *MockInterfaceSensorProxy) LightLevelUnit() proxy.PropString
func (*MockInterfaceSensorProxy) ReleaseAccelerometer ¶
func (v *MockInterfaceSensorProxy) ReleaseAccelerometer(flags dbus.Flags) error
func (*MockInterfaceSensorProxy) ReleaseLight ¶
func (v *MockInterfaceSensorProxy) ReleaseLight(flags dbus.Flags) error
type MockSensorProxy ¶
type MockSensorProxy struct { MockInterfaceSensorProxy // interface net.hadess.SensorProxy proxy.MockObject }
type SensorProxy ¶
func NewSensorProxy ¶
func NewSensorProxy(conn *dbus.Conn) SensorProxy
Click to show internal directories.
Click to hide internal directories.