Documentation
¶
Index ¶
- Constants
- type Daemon
- type LinkInfo
- type LinkInfos
- type Miracast
- func (m *Miracast) Connect(sink dbus.ObjectPath, x, y, w, h uint32) *dbus.Error
- func (m *Miracast) Disconnect(sink dbus.ObjectPath) *dbus.Error
- func (m *Miracast) Enable(link dbus.ObjectPath, enabled bool) *dbus.Error
- func (v *Miracast) GetExportedMethods() dbusutil.ExportedMethods
- func (*Miracast) GetInterfaceName() string
- func (m *Miracast) ListLinks() (links LinkInfos, busErr *dbus.Error)
- func (m *Miracast) ListSinks() (sinks SinkInfos, busErr *dbus.Error)
- func (m *Miracast) Scanning(link dbus.ObjectPath, enabled bool) *dbus.Error
- func (m *Miracast) SetLinkName(link dbus.ObjectPath, name string) *dbus.Error
- type SinkInfo
- type SinkInfos
Constants ¶
View Source
const ( EventLinkManaged uint8 = iota + 1 EventLinkUnmanaged EventSinkConnected EventSinkConnectedFailed EventSinkDisconnected )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LinkInfo ¶
type LinkInfo struct { Name string FriendlyName string MacAddress string Managed bool P2PScanning bool Path dbus.ObjectPath // contains filtered or unexported fields }
func (*LinkInfo) ConfigureForManaged ¶
func (link *LinkInfo) ConfigureForManaged()
func (*LinkInfo) EnableManaged ¶
func (*LinkInfo) EnableP2PScanning ¶
type Miracast ¶
type Miracast struct {
// contains filtered or unexported fields
}
func (*Miracast) Disconnect ¶
func (m *Miracast) Disconnect(sink dbus.ObjectPath) *dbus.Error
func (*Miracast) GetExportedMethods ¶
func (v *Miracast) GetExportedMethods() dbusutil.ExportedMethods
func (*Miracast) GetInterfaceName ¶
func (*Miracast) SetLinkName ¶
type SinkInfo ¶
type SinkInfo struct { Name string P2PMac string Interface string Connected bool Path dbus.ObjectPath LinkPath dbus.ObjectPath // contains filtered or unexported fields }
func (*SinkInfo) StartSession ¶
func (*SinkInfo) TeardownSession ¶
Click to show internal directories.
Click to hide internal directories.