다음을 통해 공유


URI.Authority Property

Definition

Returns the decoded authority component of this URI.

public string? Authority { [Android.Runtime.Register("getAuthority", "()Ljava/lang/String;", "")] get; }
[<get: Android.Runtime.Register("getAuthority", "()Ljava/lang/String;", "")>]
member this.Authority : string

Property Value

The decoded authority component of this URI, or null if the authority is undefined

Attributes

Remarks

Returns the decoded authority component of this URI.

The string returned by this method is equal to that returned by the #getRawAuthority() getRawAuthority method except that all sequences of escaped octets are decoded.

Java documentation for java.net.URI.getAuthority().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to