public class

FullScreenActivity

extends InAppMessageActivity
java.lang.Object
   ↳ android.content.Context
     ↳ android.content.ContextWrapper
       ↳ android.view.ContextThemeWrapper
         ↳ android.app.Activity
           ↳ android.support.v4.app.SupportActivity
             ↳ android.support.v4.app.FragmentActivity
               ↳ com.urbanairship.messagecenter.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.messagecenter.ThemedActivity
From class android.support.v4.app.FragmentActivity
From class android.support.v4.app.SupportActivity
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.arch.lifecycle.LifecycleOwner
From interface android.arch.lifecycle.ViewModelStoreOwner
From interface android.content.ComponentCallbacks
From interface android.content.ComponentCallbacks2
From interface android.support.v4.app.ActivityCompat.OnRequestPermissionsResultCallback
From interface android.support.v4.app.ActivityCompat.RequestPermissionsRequestCodeValidator
From interface android.support.v4.view.KeyEventDispatcher.Component
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

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 ()