sensorproxy

package
v0.0.0-...-77ac5d6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2023 License: GPL-3.0 Imports: 5 Imported by: 1

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

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockInterfaceSensorProxy

type MockInterfaceSensorProxy struct {
	mock.Mock
}

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

type SensorProxy interface {
	proxy.Object
	// contains filtered or unexported methods
}

func NewSensorProxy

func NewSensorProxy(conn *dbus.Conn) SensorProxy

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL