IntentFilter.MatchDataAuthority(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.
Match this intent filter against the given Intent data.
[Android.Runtime.Register("matchDataAuthority", "(Landroid/net/Uri;)I", "")]
public Android.Content.MatchResults MatchDataAuthority (Android.Net.Uri? data);
[<Android.Runtime.Register("matchDataAuthority", "(Landroid/net/Uri;)I", "")>]
member this.MatchDataAuthority : Android.Net.Uri -> Android.Content.MatchResults
Parameters
- data
- Uri
The data whose authority is being looked for.
Returns
Returns either #MATCH_CATEGORY_HOST
,
#MATCH_CATEGORY_PORT
, #NO_MATCH_DATA
.
- Attributes
Remarks
Match this intent filter against the given Intent data. This ignores the data scheme -- unlike #matchData
, the authority will match regardless of whether there is a matching scheme.
Java documentation for android.content.IntentFilter.matchDataAuthority(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.