MCPcopy Create free account
hub / github.com/godbus/dbus / GetProperty

Method GetProperty

object.go:130–134  ·  view source on GitHub ↗

GetProperty calls org.freedesktop.DBus.Properties.Get on the given object. The property name must be given in interface.member notation.

(p string)

Source from the content-addressed store, hash-verified

128// GetProperty calls org.freedesktop.DBus.Properties.Get on the given
129// object. The property name must be given in interface.member notation.
130func (o *Object) GetProperty(p string) (Variant, error) {
131 var result Variant
132 err := o.StoreProperty(p, &result)
133 return result, err
134}
135
136// StoreProperty calls org.freedesktop.DBus.Properties.Get on the given
137// object. The property name must be given in interface.member notation.

Callers

nothing calls this directly

Calls 1

StorePropertyMethod · 0.95

Tested by

no test coverage detected