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 Manager
- type MockInterfaceAgentManager
- func (v *MockInterfaceAgentManager) GoRegisterAgent(flags dbus.Flags, ch chan *dbus.Call, agent dbus.ObjectPath) *dbus.Call
- func (v *MockInterfaceAgentManager) GoUnregisterAgent(flags dbus.Flags, ch chan *dbus.Call, agent dbus.ObjectPath) *dbus.Call
- func (v *MockInterfaceAgentManager) RegisterAgent(flags dbus.Flags, agent dbus.ObjectPath) error
- func (v *MockInterfaceAgentManager) UnregisterAgent(flags dbus.Flags, agent dbus.ObjectPath) error
- type MockInterfaceClient
- func (v *MockInterfaceClient) CreateSession(flags dbus.Flags, destination string, args map[string]dbus.Variant) (dbus.ObjectPath, error)
- func (v *MockInterfaceClient) GoCreateSession(flags dbus.Flags, ch chan *dbus.Call, destination string, ...) *dbus.Call
- func (v *MockInterfaceClient) GoRemoveSession(flags dbus.Flags, ch chan *dbus.Call, session dbus.ObjectPath) *dbus.Call
- func (v *MockInterfaceClient) RemoveSession(flags dbus.Flags, session dbus.ObjectPath) error
- type MockInterfaceObjectPush
- func (v *MockInterfaceObjectPush) ExchangeBusinessCards(flags dbus.Flags, clientfile string, targetfile string) (dbus.ObjectPath, map[string]dbus.Variant, error)
- func (v *MockInterfaceObjectPush) GoExchangeBusinessCards(flags dbus.Flags, ch chan *dbus.Call, clientfile string, targetfile string) *dbus.Call
- func (v *MockInterfaceObjectPush) GoPullBusinessCard(flags dbus.Flags, ch chan *dbus.Call, targetfile string) *dbus.Call
- func (v *MockInterfaceObjectPush) GoSendFile(flags dbus.Flags, ch chan *dbus.Call, sourcefile string) *dbus.Call
- func (v *MockInterfaceObjectPush) PullBusinessCard(flags dbus.Flags, targetfile string) (dbus.ObjectPath, map[string]dbus.Variant, error)
- func (v *MockInterfaceObjectPush) SendFile(flags dbus.Flags, sourcefile string) (dbus.ObjectPath, map[string]dbus.Variant, error)
- type MockInterfaceSession
- func (v *MockInterfaceSession) Channel() proxy.PropByte
- func (v *MockInterfaceSession) Destination() proxy.PropString
- func (v *MockInterfaceSession) GetCapabilities(flags dbus.Flags) (string, error)
- func (v *MockInterfaceSession) GoGetCapabilities(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceSession) Source() proxy.PropString
- func (v *MockInterfaceSession) Target() proxy.PropString
- type MockInterfaceTransfer
- func (v *MockInterfaceTransfer) Cancel(flags dbus.Flags) error
- func (v *MockInterfaceTransfer) Filename() proxy.PropString
- func (v *MockInterfaceTransfer) GoCancel(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceTransfer) Name() proxy.PropString
- func (v *MockInterfaceTransfer) Session() proxy.PropObjectPath
- func (v *MockInterfaceTransfer) Size() proxy.PropUint64
- func (v *MockInterfaceTransfer) Status() proxy.PropString
- func (v *MockInterfaceTransfer) Time() proxy.PropUint64
- func (v *MockInterfaceTransfer) Transferred() proxy.PropUint64
- func (v *MockInterfaceTransfer) Type() proxy.PropString
- type MockManager
- type MockObjectManager
- type MockSession
- type MockTransfer
- type ObjectManager
- type Session
- type Transfer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager interface { AgentManager() agentManager // interface org.bluez.obex.AgentManager1 Client() client // interface org.bluez.obex.Client1 proxy.Object }
func NewManager ¶
func NewManager(conn *dbus.Conn) Manager
type MockInterfaceAgentManager ¶
func (*MockInterfaceAgentManager) GoRegisterAgent ¶
func (v *MockInterfaceAgentManager) GoRegisterAgent(flags dbus.Flags, ch chan *dbus.Call, agent dbus.ObjectPath) *dbus.Call
func (*MockInterfaceAgentManager) GoUnregisterAgent ¶
func (v *MockInterfaceAgentManager) GoUnregisterAgent(flags dbus.Flags, ch chan *dbus.Call, agent dbus.ObjectPath) *dbus.Call
func (*MockInterfaceAgentManager) RegisterAgent ¶
func (v *MockInterfaceAgentManager) RegisterAgent(flags dbus.Flags, agent dbus.ObjectPath) error
func (*MockInterfaceAgentManager) UnregisterAgent ¶
func (v *MockInterfaceAgentManager) UnregisterAgent(flags dbus.Flags, agent dbus.ObjectPath) error
type MockInterfaceClient ¶
func (*MockInterfaceClient) CreateSession ¶
func (v *MockInterfaceClient) CreateSession(flags dbus.Flags, destination string, args map[string]dbus.Variant) (dbus.ObjectPath, error)
func (*MockInterfaceClient) GoCreateSession ¶
func (v *MockInterfaceClient) GoCreateSession(flags dbus.Flags, ch chan *dbus.Call, destination string, args map[string]dbus.Variant) *dbus.Call
func (*MockInterfaceClient) GoRemoveSession ¶
func (v *MockInterfaceClient) GoRemoveSession(flags dbus.Flags, ch chan *dbus.Call, session dbus.ObjectPath) *dbus.Call
func (*MockInterfaceClient) RemoveSession ¶
func (v *MockInterfaceClient) RemoveSession(flags dbus.Flags, session dbus.ObjectPath) error
type MockInterfaceObjectPush ¶
func (*MockInterfaceObjectPush) ExchangeBusinessCards ¶
func (v *MockInterfaceObjectPush) ExchangeBusinessCards(flags dbus.Flags, clientfile string, targetfile string) (dbus.ObjectPath, map[string]dbus.Variant, error)
func (*MockInterfaceObjectPush) GoExchangeBusinessCards ¶
func (v *MockInterfaceObjectPush) GoExchangeBusinessCards(flags dbus.Flags, ch chan *dbus.Call, clientfile string, targetfile string) *dbus.Call
func (*MockInterfaceObjectPush) GoPullBusinessCard ¶
func (v *MockInterfaceObjectPush) GoPullBusinessCard(flags dbus.Flags, ch chan *dbus.Call, targetfile string) *dbus.Call
func (*MockInterfaceObjectPush) GoSendFile ¶
func (v *MockInterfaceObjectPush) GoSendFile(flags dbus.Flags, ch chan *dbus.Call, sourcefile string) *dbus.Call
func (*MockInterfaceObjectPush) PullBusinessCard ¶
func (v *MockInterfaceObjectPush) PullBusinessCard(flags dbus.Flags, targetfile string) (dbus.ObjectPath, map[string]dbus.Variant, error)
type MockInterfaceSession ¶
func (*MockInterfaceSession) Channel ¶
func (v *MockInterfaceSession) Channel() proxy.PropByte
func (*MockInterfaceSession) Destination ¶
func (v *MockInterfaceSession) Destination() proxy.PropString
func (*MockInterfaceSession) GetCapabilities ¶
func (v *MockInterfaceSession) GetCapabilities(flags dbus.Flags) (string, error)
func (*MockInterfaceSession) GoGetCapabilities ¶
func (v *MockInterfaceSession) GoGetCapabilities(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceSession) Source ¶
func (v *MockInterfaceSession) Source() proxy.PropString
func (*MockInterfaceSession) Target ¶
func (v *MockInterfaceSession) Target() proxy.PropString
type MockInterfaceTransfer ¶
func (*MockInterfaceTransfer) Cancel ¶
func (v *MockInterfaceTransfer) Cancel(flags dbus.Flags) error
func (*MockInterfaceTransfer) Filename ¶
func (v *MockInterfaceTransfer) Filename() proxy.PropString
func (*MockInterfaceTransfer) GoCancel ¶
func (v *MockInterfaceTransfer) GoCancel(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceTransfer) Name ¶
func (v *MockInterfaceTransfer) Name() proxy.PropString
func (*MockInterfaceTransfer) Session ¶
func (v *MockInterfaceTransfer) Session() proxy.PropObjectPath
func (*MockInterfaceTransfer) Size ¶
func (v *MockInterfaceTransfer) Size() proxy.PropUint64
func (*MockInterfaceTransfer) Status ¶
func (v *MockInterfaceTransfer) Status() proxy.PropString
func (*MockInterfaceTransfer) Time ¶
func (v *MockInterfaceTransfer) Time() proxy.PropUint64
func (*MockInterfaceTransfer) Transferred ¶
func (v *MockInterfaceTransfer) Transferred() proxy.PropUint64
func (*MockInterfaceTransfer) Type ¶
func (v *MockInterfaceTransfer) Type() proxy.PropString
type MockManager ¶
type MockManager struct { MockInterfaceAgentManager // interface org.bluez.obex.AgentManager1 MockInterfaceClient // interface org.bluez.obex.Client1 proxy.MockObject }
type MockObjectManager ¶
type MockObjectManager struct { object_manager.MockInterfaceObjectManager // interface org.freedesktop.DBus.ObjectManager proxy.MockObject }
type MockSession ¶
type MockSession struct { MockInterfaceSession // interface org.bluez.obex.Session1 MockInterfaceObjectPush // interface org.bluez.obex.ObjectPush1 proxy.MockObject }
type MockTransfer ¶
type MockTransfer struct { MockInterfaceTransfer // interface org.bluez.obex.Transfer1 proxy.MockObject }
type ObjectManager ¶
type ObjectManager interface { object_manager.ObjectManager // interface org.freedesktop.DBus.ObjectManager proxy.Object }
func NewObjectManager ¶
func NewObjectManager(conn *dbus.Conn) ObjectManager
Click to show internal directories.
Click to hide internal directories.