Partager via


AssistContent.WebUri Property

Definition

Return the content's web URI as per #setWebUri(android.net.Uri), or null if there is none. -or- Set a web URI associated with the current data being shown to the user.

public virtual Android.Net.Uri? WebUri { [Android.Runtime.Register("getWebUri", "()Landroid/net/Uri;", "GetGetWebUriHandler", ApiSince=23)] get; [Android.Runtime.Register("setWebUri", "(Landroid/net/Uri;)V", "GetSetWebUri_Landroid_net_Uri_Handler", ApiSince=23)] set; }
[<get: Android.Runtime.Register("getWebUri", "()Landroid/net/Uri;", "GetGetWebUriHandler", ApiSince=23)>]
[<set: Android.Runtime.Register("setWebUri", "(Landroid/net/Uri;)V", "GetSetWebUri_Landroid_net_Uri_Handler", ApiSince=23)>]
member this.WebUri : Android.Net.Uri with get, set

Property Value

Uri
Attributes

Remarks

Property getter documentation:

Return the content's web URI as per #setWebUri(android.net.Uri), or null if there is none.

Java documentation for android.app.assist.AssistContent.getWebUri().

Property setter documentation:

Set a web URI associated with the current data being shown to the user. This URI could be opened in a web browser, or in the app as an Intent#ACTION_VIEW Intent, to show the same data that is currently being displayed by it. The URI here should be something that is transportable off the device into other environments to acesss the same data as is currently being shown in the app; if the app does not have such a representation, it should leave the null and only report the local intent and clip data.

Java documentation for android.app.assist.AssistContent.setWebUri(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.

Applies to