(Un)subscribes to the service

# 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` を返します。

### 参考

- gupnp_service_proxy_get_subscribed() - Check whether subscription is valid to the service