Klasse URIHandler

Alle implementierten Schnittstellen:
PointerInterface

public class URIHandler extends Interface
The #GstURIHandler is an interface that is implemented by Source and Sink
#GstElement to unify handling of URI.

An application can use the following functions to quickly get an element
that handles the given URI for reading or writing
(gst_element_make_from_uri()).

Source and Sink plugins should implement this interface when possible.

https://gstreamer.freedesktop.org/documentation/gstreamer/gi-index.html

  • Konstruktordetails

  • Methodendetails

    • getClassHandler

      public static ClassHandler getClassHandler()
    • getUri

      public Str getUri()
      Gets the currently handled URI.
      Gibt zurück:
      the URI currently handled by the @handler. Returns %NULL if there are no URI currently handled. The returned string must be freed with g_free() when no longer needed.
    • getUriType

      public int getUriType()
      Gets the type of the given URI handler
      Gibt zurück:
      the #GstURIType of the URI handler. Returns #GST_URI_UNKNOWN if the @handler isn't implemented correctly.
    • setUri

      public boolean setUri(@Nonnull Str uri) throws AllocationError
      Tries to set the URI of the given handler.
      Parameter:
      uri - URI to set
      Gibt zurück:
      %TRUE if the URI was set successfully, else %FALSE.
      Löst aus:
      AllocationError
    • setUri

      public boolean setUri(String uri) throws AllocationError
      Tries to set the URI of the given handler.
      Parameter:
      uri - URI to set
      Gibt zurück:
      %TRUE if the URI was set successfully, else %FALSE.
      Löst aus:
      AllocationError
    • getTypeID

      public static long getTypeID()
    • getParentTypeID

      public static long getParentTypeID()
    • getTypeSize

      public static TypeSystem.TypeSize getTypeSize()
    • getParentTypeSize

      public static TypeSystem.TypeSize getParentTypeSize()
    • getInstanceSize

      public static int getInstanceSize()