SliceManager.MapIntentToUri(Intent) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Turns a slice intent into a slice uri.
[Android.Runtime.Register("mapIntentToUri", "(Landroid/content/Intent;)Landroid/net/Uri;", "GetMapIntentToUri_Landroid_content_Intent_Handler", ApiSince=28)]
public virtual Android.Net.Uri? MapIntentToUri (Android.Content.Intent intent);
[<Android.Runtime.Register("mapIntentToUri", "(Landroid/content/Intent;)Landroid/net/Uri;", "GetMapIntentToUri_Landroid_content_Intent_Handler", ApiSince=28)>]
abstract member MapIntentToUri : Android.Content.Intent -> Android.Net.Uri
override this.MapIntentToUri : Android.Content.Intent -> Android.Net.Uri
Parameters
- intent
- Intent
The intent associated with a slice.
Returns
The Slice Uri provided by the app or null if none exists.
- Attributes
Remarks
Java documentation for android.app.slice.SliceManager.mapIntentToUri(android.content.Intent).
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.