EventUrlProvider.CreateEventTrackingUrlWithRedirect 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.
Creates an event tracking URL that redirects to the provided destination URL when it is clicked in an ODP webview.
[Android.Runtime.Register("createEventTrackingUrlWithRedirect", "(Landroid/os/PersistableBundle;Landroid/net/Uri;)Landroid/net/Uri;", "GetCreateEventTrackingUrlWithRedirect_Landroid_os_PersistableBundle_Landroid_net_Uri_Handler", ApiSince=35)]
public virtual Android.Net.Uri CreateEventTrackingUrlWithRedirect (Android.OS.PersistableBundle eventParams, Android.Net.Uri? destinationUrl);
[<Android.Runtime.Register("createEventTrackingUrlWithRedirect", "(Landroid/os/PersistableBundle;Landroid/net/Uri;)Landroid/net/Uri;", "GetCreateEventTrackingUrlWithRedirect_Landroid_os_PersistableBundle_Landroid_net_Uri_Handler", ApiSince=35)>]
abstract member CreateEventTrackingUrlWithRedirect : Android.OS.PersistableBundle * Android.Net.Uri -> Android.Net.Uri
override this.CreateEventTrackingUrlWithRedirect : Android.OS.PersistableBundle * Android.Net.Uri -> Android.Net.Uri
Parameters
- eventParams
- PersistableBundle
The data to be passed to
IsolatedWorker#onEvent(EventInput, android.os.OutcomeReceiver)
when the event occurs
- destinationUrl
- Uri
The URL to redirect to.
Returns
An ODP event URL that can be inserted into a WebView.
- Attributes
Remarks
Creates an event tracking URL that redirects to the provided destination URL when it is clicked in an ODP webview.
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.