Condividi tramite


Intent.Data Property

Definition

Retrieve data this intent is operating on.

public virtual Android.Net.Uri? Data { [Android.Runtime.Register("getData", "()Landroid/net/Uri;", "GetGetDataHandler")] get; }
[<get: Android.Runtime.Register("getData", "()Landroid/net/Uri;", "GetGetDataHandler")>]
member this.Data : Android.Net.Uri

Property Value

Uri

The URI of the data this intent is targeting or null.

Attributes

Remarks

Retrieve data this intent is operating on. This URI specifies the name of the data; often it uses the content: scheme, specifying data in a content provider. Other schemes may be handled by specific activities, such as http: by the web browser.

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

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