Skip to content

//sorisdk/com.iplateia.sorisdk/SORIAudioRecognizer/handleActionURL

handleActionURL

[androidJvm]
fun handleActionURL(ctx: Context, url: URL)

fun handleActionURL(ctx: Context, url: String)

Visits the actual action URL that retrieves from the API Server.

Although default browser in user's device can handle it automatically but, doing this manually can be helpful on the reasons below:

  • The bounce URL does not shown to the user. (preventing flashing)
  • Application can handle their own schema handler.
  • Seamlessly track user activities without annoying.

Parameters

androidJvm

ctxThe context from which the service is started.
urlThe action URL from SORICampaign.

[androidJvm]
fun handleActionURL(ctx: Context, campaign: SORICampaign)

Visits the actual action URL that retrieves from the API Server.

Although default browser in user's device can handle it automatically but, doing this manually can be helpful on the reasons below:

  • The bounce URL does not shown to the user. (preventing flashing)
  • Application can handle their own schema handler.
  • Seamlessly track user activities without annoying.

Parameters

androidJvm

ctxThe context from which the service is started.
campaignThe SORICampaign object that contains the action URL.