IntentFilter.HasDataAuthority(Uri) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Is the given data authority included in the filter? Note that if the filter does not include any authorities, false will <em>always</em> be returned.
[Android.Runtime.Register("hasDataAuthority", "(Landroid/net/Uri;)Z", "")]
public bool HasDataAuthority (Android.Net.Uri? data);
[<Android.Runtime.Register("hasDataAuthority", "(Landroid/net/Uri;)Z", "")>]
member this.HasDataAuthority : Android.Net.Uri -> bool
Parameters
- data
- Uri
The data whose authority is being looked for.
Returns
Returns true if the data string matches an authority listed in the filter.
- Attributes
Remarks
Is the given data authority included in the filter? Note that if the filter does not include any authorities, false will <em>always</em> be returned.
Java documentation for android.content.IntentFilter.hasDataAuthority(android.net.Uri)
.
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.