Method

GrlSourcetest_media_from_uri

since: 0.2.0

Declaration [src]

gboolean
grl_source_test_media_from_uri (
  GrlSource* source,
  const gchar* uri
)

Description [src]

Tests whether source can instantiate a GrlMedia object representing the media resource exposed at uri.

Available since: 0.2.0

Parameters

uri

Type: const gchar*

A URI that can be used to identify a media resource.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.

Return value

Type: gboolean

TRUE if it can, FALSE otherwise.

This method is synchronous.