Method

PhoshDBusSensorProxyset_has_proximity

Declaration [src]

void
phosh_dbus_sensor_proxy_set_has_proximity (
  PhoshDBusSensorProxy* object,
  gboolean value
)

Description [src]

Sets the HasProximity” D-Bus property to value.

Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.

This method is not directly available to language bindings.

Parameters

value

Type: gboolean

The value to set.