Home > PHP > Function > Gupnp > gupnp_device_info_get_service()

gupnp_device_info_get_service()

gupnp_device_info_get_service - Get the service with type

Syntax

resource gupnp_device_info_get_service (resource $root_device, string $type)

Arguments

  • root_device - A root device identifier, returned by gupnp_root_device_new().
  • type - The type of the service to be retrieved.

Description

Get the service with type or false if no such device was found.

Version

PHP PECL gupnp >= 0.1.0

Return value

A service identifier.