PHP - Manual: gupnp_root_device_set_available
2024-12-22
(PECL gupnp >= 0.1.0)
gupnp_root_device_set_available — Set whether or not root_device is available
$root_device
, bool $available
) : boolControls whether or not root_device is available (announcing its presence).
root_device
A root device identifier, returned by gupnp_root_device_new().
available
Set TRUE
if root_device
should be available.
成功时返回 TRUE
, 或者在失败时返回 FALSE
。
官方地址:https://www.php.net/manual/en/function.gupnp-root-device-set-available.php