Table of Contents

Class Uri

Namespace
Gst
Assembly
Gst-1.0.dll
public sealed class Uri : BoxedRecord, IEquatable<Uri>
Inheritance
Uri
Implements
Inherited Members

Constructors

Uri(UriOwnedHandle)

public Uri(UriOwnedHandle handle)

Parameters

handle UriOwnedHandle

Properties

Handle

public UriOwnedHandle Handle { get; }

Property Value

UriOwnedHandle

Methods

AppendPath(string?)

[Version("1.6")]
public bool AppendPath(string? relativePath)

Parameters

relativePath string

Returns

bool

AppendPathSegment(string?)

[Version("1.6")]
public bool AppendPathSegment(string? pathSegment)

Parameters

pathSegment string

Returns

bool

Construct(string, string)

public static string Construct(string protocol, string location)

Parameters

protocol string
location string

Returns

string

Equal(Uri)

[Version("1.6")]
public bool Equal(Uri second)

Parameters

second Uri

Returns

bool

Equals(Uri?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(Uri? other)

Parameters

other Uri

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

FromString(string)

[Version("1.6")]
public static Uri? FromString(string uri)

Parameters

uri string

Returns

Uri

FromStringEscaped(string)

[Version("1.18")]
public static Uri? FromStringEscaped(string uri)

Parameters

uri string

Returns

Uri

FromStringWithBase(string)

[Version("1.6")]
public Uri? FromStringWithBase(string uri)

Parameters

uri string

Returns

Uri

GetFragment()

[Version("1.6")]
public string? GetFragment()

Returns

string

GetGType()

public static Type GetGType()

Returns

Type

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

GetHost()

[Version("1.6")]
public string? GetHost()

Returns

string

GetLocation(string)

public static string? GetLocation(string uri)

Parameters

uri string

Returns

string

GetMediaFragmentTable()

[Version("1.12")]
public HashTable? GetMediaFragmentTable()

Returns

HashTable

GetPath()

[Version("1.6")]
public string? GetPath()

Returns

string

GetPathSegments()

[Version("1.6")]
public List GetPathSegments()

Returns

List

GetPathString()

[Version("1.6")]
public string? GetPathString()

Returns

string

GetPort()

[Version("1.6")]
public uint GetPort()

Returns

uint

GetProtocol(string)

public static string? GetProtocol(string uri)

Parameters

uri string

Returns

string

GetQueryString()

[Version("1.6")]
public string? GetQueryString()

Returns

string

GetQueryTable()

[Version("1.6")]
public HashTable? GetQueryTable()

Returns

HashTable

GetQueryValue(string)

[Version("1.6")]
public string? GetQueryValue(string queryKey)

Parameters

queryKey string

Returns

string

GetScheme()

public string? GetScheme()

Returns

string

GetUserinfo()

[Version("1.6")]
public string? GetUserinfo()

Returns

string

HasProtocol(string, string)

public static bool HasProtocol(string uri, string protocol)

Parameters

uri string
protocol string

Returns

bool

IsNormalized()

[Version("1.6")]
public bool IsNormalized()

Returns

bool

IsValid(string)

public static bool IsValid(string uri)

Parameters

uri string

Returns

bool

IsWritable()

[Version("1.6")]
public bool IsWritable()

Returns

bool

Join(Uri?)

[Version("1.6")]
public Uri? Join(Uri? refUri)

Parameters

refUri Uri

Returns

Uri

JoinStrings(string, string)

[Version("1.6")]
public static string? JoinStrings(string baseUri, string refUri)

Parameters

baseUri string
refUri string

Returns

string

MakeWritable()

[Version("1.6")]
public Uri MakeWritable()

Returns

Uri

New(string?, string?, string?, uint, string?, string?, string?)

[Version("1.6")]
public static Uri New(string? scheme, string? userinfo, string? host, uint port, string? path, string? query, string? fragment)

Parameters

scheme string
userinfo string
host string
port uint
path string
query string
fragment string

Returns

Uri

NewWithBase(string?, string?, string?, uint, string?, string?, string?)

[Version("1.6")]
public Uri NewWithBase(string? scheme, string? userinfo, string? host, uint port, string? path, string? query, string? fragment)

Parameters

scheme string
userinfo string
host string
port uint
path string
query string
fragment string

Returns

Uri

Normalize()

[Version("1.6")]
public bool Normalize()

Returns

bool

ProtocolIsSupported(URIType, string)

public static bool ProtocolIsSupported(URIType type, string protocol)

Parameters

type URIType
protocol string

Returns

bool

ProtocolIsValid(string)

public static bool ProtocolIsValid(string protocol)

Parameters

protocol string

Returns

bool

QueryHasKey(string)

[Version("1.6")]
public bool QueryHasKey(string queryKey)

Parameters

queryKey string

Returns

bool

RemoveQueryKey(string)

[Version("1.6")]
public bool RemoveQueryKey(string queryKey)

Parameters

queryKey string

Returns

bool

SetFragment(string?)

[Version("1.6")]
public bool SetFragment(string? fragment)

Parameters

fragment string

Returns

bool

SetHost(string)

[Version("1.6")]
public bool SetHost(string host)

Parameters

host string

Returns

bool

SetPath(string?)

[Version("1.6")]
public bool SetPath(string? path)

Parameters

path string

Returns

bool

SetPathString(string)

[Version("1.6")]
public bool SetPathString(string path)

Parameters

path string

Returns

bool

SetPort(uint)

[Version("1.6")]
public bool SetPort(uint port)

Parameters

port uint

Returns

bool

SetQueryString(string?)

[Version("1.6")]
public bool SetQueryString(string? query)

Parameters

query string

Returns

bool

SetQueryTable(HashTable?)

[Version("1.6")]
public bool SetQueryTable(HashTable? queryTable)

Parameters

queryTable HashTable

Returns

bool

SetQueryValue(string, string?)

[Version("1.6")]
public bool SetQueryValue(string queryKey, string? queryValue)

Parameters

queryKey string
queryValue string

Returns

bool

SetScheme(string)

[Version("1.6")]
public bool SetScheme(string scheme)

Parameters

scheme string

Returns

bool

SetUserinfo(string)

[Version("1.6")]
public bool SetUserinfo(string userinfo)

Parameters

userinfo string

Returns

bool

ToString()

[Version("1.6")]
public string ToString()

Returns

string