public class

TagManagerPreviewActivity

extends Activity
java.lang.Object
   ↳ android.content.Context
     ↳ android.content.ContextWrapper
       ↳ android.view.ContextThemeWrapper
         ↳ android.app.Activity
           ↳ com.google.android.gms.tagmanager.TagManagerPreviewActivity

Class Overview

An Activity to preview or stop previewing a Google Tag Manager container.

To use the preview function, the app should add the following snippet into its build.gradle (where <application_id> needs to be replaced by your application id):

android {
      defaultConfig {
          applicationId "<application_id>"
      }
 }

Summary

[Expand]
Inherited Constants
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
TagManagerPreviewActivity()
Public Methods
void onCreate(Bundle savedInstanceState)
Prepares for previewing a non-published container and then launches the launch activity for this package.
[Expand]
Inherited Methods
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.view.LayoutInflater.Factory2
From interface android.view.Window.Callback
From interface android.view.KeyEvent.Callback
From interface android.view.View.OnCreateContextMenuListener
From interface android.content.ComponentCallbacks2
From interface android.view.LayoutInflater.Factory
From interface android.content.ComponentCallbacks

Public Constructors

public TagManagerPreviewActivity ()

Public Methods

public void onCreate (Bundle savedInstanceState)

Prepares for previewing a non-published container and then launches the launch activity for this package.

Parameters
savedInstanceState Bundle