©
Dokumen ini menggunakan Manual laman web PHP Cina Lepaskan
(PECL gupnp >= 0.1.0)
gupnp_service_notify — Notifies listening clients
$service
, string $name
, int $type
, mixed $value
)Notifies listening clients that the property have changed to the specified values.
service
A service identifier.
name
The name of the variable.
type
The type of the variable. Type can be one of the following values:
GUPNP_TYPE_BOOLEAN
GUPNP_TYPE_INT
GUPNP_TYPE_LONG
GUPNP_TYPE_DOUBLE
GUPNP_TYPE_FLOAT
GUPNP_TYPE_STRING
value
The value of the variable.
成功时返回 TRUE
, 或者在失败时返回 FALSE
。
Issues E_WARNING with either not correctly defined type of the variable or the value is not corresponding to the defined type.