public class

FullScreenActivity

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.fullscreen.FullScreenActivity

Class Overview

Full screen 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
Fields
protected FullScreenDisplayContent displayContent
[Expand]
Inherited Fields
From class android.app.Activity
Public Constructors
FullScreenActivity()
Public Methods
void onButtonClicked(View view, ButtonInfo buttonInfo)
Protected Methods
int getTemplate(String template)
Gets the layout for the given template.
String normalizeTemplate(FullScreenDisplayContent displayContent)
Gets the normalized template from the display content.
void onCreateMessage(Bundle savedInstanceState)
Called during onCreate(Bundle) after the in-app message and display handler are parsed from the intent.
void onPause()
void onResume()
[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.app.OnMultiWindowModeChangedProvider
From interface androidx.core.app.OnNewIntentProvider
From interface androidx.core.app.OnPictureInPictureModeChangedProvider
From interface androidx.core.content.OnConfigurationChangedProvider
From interface androidx.core.content.OnTrimMemoryProvider
From interface androidx.core.view.KeyEventDispatcher.Component
From interface androidx.core.view.MenuHost
From interface androidx.lifecycle.HasDefaultViewModelProviderFactory
From interface androidx.lifecycle.LifecycleOwner
From interface androidx.lifecycle.ViewModelStoreOwner
From interface androidx.savedstate.SavedStateRegistryOwner

Fields

protected FullScreenDisplayContent displayContent

Public Constructors

public FullScreenActivity ()

Public Methods

public void onButtonClicked (View view, ButtonInfo buttonInfo)

Protected Methods

protected int getTemplate (String template)

Gets the layout for the given template.

Parameters
template The fullscreen template.
Returns
  • The template layout resource ID.

protected String normalizeTemplate (FullScreenDisplayContent displayContent)

Gets the normalized template from the display content. The template may differ from the display content's template to facilitate theming.

Parameters
displayContent The display content.
Returns
  • The full screen template.

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.

protected void onPause ()

protected void onResume ()