Query: gupnp_control_point_browse_start
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
GUPNP_CONTROL_POINT_BROWSE_START(3) 1 GUPNP_CONTROL_POINT_BROWSE_START(3) gupnp_control_point_browse_start - Start browsingSYNOPSISbool gupnp_control_point_browse_start (resource $cpoint)DESCRIPTIONStart the search and calls user-defined callback.PARAMETERSo $cpoint - A control point identifier, returned by gupnp_control_point_new(3).RETURN VALUESReturns TRUE on success or FALSE on failure.EXAMPLESExample #1 Create new UPnP context and start browsing <?php function device_proxy_available_cb($proxy, $arg) { $info = gupnp_device_info_get($proxy); $type = $info['device_type']; $location = $info['location']; printf("Device available: "); printf("type: %s ", $type); printf("location: %s ", $location); } /* Create the UPnP context */ $context = gupnp_context_new(); if (!$context) { die("Error creating the GUPnP context "); } /* We're interested in everything */ $cp = gupnp_control_point_new($context, "ssdp:all"); gupnp_control_point_callback_set($cp, GUPNP_SIGNAL_DEVICE_PROXY_AVAILABLE, 'device_proxy_available_cb'); /* Start for browsing */ gupnp_control_point_browse_start($cp); ?>SEE ALSOgupnp_control_point_new(3), gupnp_control_point_browse_stop(3). PHP Documentation Group GUPNP_CONTROL_POINT_BROWSE_START(3)
Related Man Pages |
---|
xdiff_file_diff(3) - php |
stream_context_get_default(3) - php |
fbsql_create_db(3) - php |
gupnp_control_point_callback_set(3) - php |
gupnp_device_info_get_service(3) - php |
Similar Topics in the Unix Linux Community |
---|
Windows Buffering during playing |
GUPnP 0.3 (GUPnP Tools branch) |
GUPnP 0.1 (GUPnP A/V branch) |
My Mac stops responding while I'm browsing the iTunes Store |
Coherence 0.6.0 (Default branch) |