Sdílet prostřednictvím


MockContentProvider.GetType(Uri) Method

Definition

Implement this to handle requests for the MIME type of the data at the given URI.

[Android.Runtime.Register("getType", "(Landroid/net/Uri;)Ljava/lang/String;", "GetGetType_Landroid_net_Uri_Handler")]
public override string? GetType (Android.Net.Uri? uri);
[<Android.Runtime.Register("getType", "(Landroid/net/Uri;)Ljava/lang/String;", "GetGetType_Landroid_net_Uri_Handler")>]
override this.GetType : Android.Net.Uri -> string

Parameters

uri
Uri

the URI to query.

Returns

Attributes

Remarks

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