IntentFilter.AddDataAuthority(String, String) IntentFilter.AddDataAuthority(String, String) Method


Add a new Intent data authority to match against.

[Android.Runtime.Register("addDataAuthority", "(Ljava/lang/String;Ljava/lang/String;)V", "")]
public void AddDataAuthority (string host, string port);
member this.AddDataAuthority : string * string -> unit


String String

The host part of the authority to match. May start with a single '*' to wildcard the front of the host name.

String String

Optional port part of the authority to match. If null, any port is allowed.


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

See also