make_from_uri


Description:

[ CCode ( returns_floating_reference = true ) ]
public static Element make_from_uri (URIType type, string uri, string? elementname) throws Error

Creates an element for handling the given URI.

Parameters:

type

Whether to create a source or a sink

uri

URI to create an element for

elementname

Name of created element, can be null.

Returns:

a new element or null if none could be created




2022 vala-language.org