Home > PHP > Function > Gupnp > gupnp_service_proxy_set_subscribed()

gupnp_service_proxy_set_subscribed()

gupnp_service_proxy_set_subscribed - (Un)subscribes to the service.

Syntax

bool gupnp_service_proxy_set_subscribed (resource $proxy, bool $subscribed)

Arguments

  • proxy - A service proxy identifier.
  • subscribed - Set TRUE to subscribe to this service.

Description

(Un)subscribes to the service.

Version

PHP PECL gupnp >= 0.1.0

Return value

Returns TRUE on success or FALSE on failure.