gupnp_service_proxy_set_subscribed
(PECL gupnp >= 0.1.0)
gupnp_service_proxy_set_subscribed — (Un)subscribes to the service
说明
gupnp_service_proxy_set_subscribed
( resource
$proxy
, bool $subscribed
) : bool(Un)subscribes to the service.
参数
-
proxy
-
A service proxy identifier.
-
subscribed
-
Set
TRUE
to subscribe to this service.
返回值
成功时返回 TRUE
, 或者在失败时返回 FALSE
。