Home > PHP > Function > Gupnp > gupnp_root_device_set_available()

gupnp_root_device_set_available()

gupnp_root_device_set_available - Set whether or not root_device is available

Syntax

bool gupnp_root_device_set_available (resource $root_device, bool $available)

Arguments

  • root_device - A root device identifier, returned by gupnp_root_device_new().
  • available - Set TRUE if root_device should be available.

Description

Controls whether or not root_device is available (announcing its presence).

Version

PHP PECL gupnp >= 0.1.0

Return value

Returns TRUE on success or FALSE on failure.