共用方式為


Intent.DataString Property

Definition

The same as #getData(), but returns the URI as an encoded String.

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

Property Value

Attributes

Remarks

The same as #getData(), but returns the URI as an encoded String.

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

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