public class

HtmlActivity

extends InAppMessageActivity
java.lang.Object
   ↳ android.content.Context
     ↳ android.content.ContextWrapper
       ↳ android.view.ContextThemeWrapper
         ↳ android.app.Activity
           ↳ androidx.core.app.ComponentActivity
             ↳ androidx.activity.ComponentActivity
               ↳ androidx.fragment.app.FragmentActivity
                 ↳ com.urbanairship.activity.ThemedActivity
                   ↳ com.urbanairship.iam.InAppMessageActivity
                     ↳ com.urbanairship.iam.html.HtmlActivity

Class Overview

HTML in-app message activity.

Summary

[Expand]
Inherited Constants
From class com.urbanairship.iam.InAppMessageActivity
From class android.app.Activity
From class android.content.Context
From interface android.content.ComponentCallbacks2
[Expand]
Inherited Fields
From class android.app.Activity
Public Constructors
HtmlActivity()
Public Methods
void applySizeConstraints(HtmlDisplayContent displayContent)
void onPause()
void onResume()
Protected Methods
void load()
Loads the page.
void load(long delay)
Load the page with a delay.
void onCreateMessage(Bundle savedInstanceState)
Called during onCreate(Bundle) after the in-app message and display handler are parsed from the intent.
[Expand]
Inherited Methods
From class com.urbanairship.iam.InAppMessageActivity
From class com.urbanairship.activity.ThemedActivity
From class androidx.fragment.app.FragmentActivity
From class androidx.activity.ComponentActivity
From class androidx.core.app.ComponentActivity
From class android.app.Activity
From class android.view.ContextThemeWrapper
From class android.content.ContextWrapper
From class android.content.Context
From class java.lang.Object
From interface android.content.ComponentCallbacks
From interface android.content.ComponentCallbacks2
From interface android.view.KeyEvent.Callback
From interface android.view.LayoutInflater.Factory
From interface android.view.LayoutInflater.Factory2
From interface android.view.View.OnCreateContextMenuListener
From interface android.view.Window.Callback
From interface androidx.activity.OnBackPressedDispatcherOwner
From interface androidx.activity.contextaware.ContextAware
From interface androidx.activity.result.ActivityResultCaller
From interface androidx.activity.result.ActivityResultRegistryOwner
From interface androidx.core.app.ActivityCompat.OnRequestPermissionsResultCallback
From interface androidx.core.app.ActivityCompat.RequestPermissionsRequestCodeValidator
From interface androidx.core.view.KeyEventDispatcher.Component
From interface androidx.lifecycle.HasDefaultViewModelProviderFactory
From interface androidx.lifecycle.LifecycleOwner
From interface androidx.lifecycle.ViewModelStoreOwner
From interface androidx.savedstate.SavedStateRegistryOwner

Public Constructors

public HtmlActivity ()

Public Methods

public void applySizeConstraints (HtmlDisplayContent displayContent)

public void onPause ()

public void onResume ()

Protected Methods

protected void load ()

Loads the page.

protected void load (long delay)

Load the page with a delay.

Parameters
delay Delay before loading the page. Delay of 0 or less will start loading the page immediately.

protected void onCreateMessage (Bundle savedInstanceState)

Called during onCreate(Bundle) after the in-app message and display handler are parsed from the intent.

Parameters
savedInstanceState The saved instance state.