Sdílet prostřednictvím


Intent.Type Property

Definition

Retrieve any explicit MIME type included in the intent.

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

Property Value

If a type was manually set, it is returned; else null is returned.

Attributes

Remarks

Retrieve any explicit MIME type included in the intent. This is usually null, as the type is determined by the intent data.

Java documentation for android.content.Intent.getType().

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