Class Batch.Messaging.DisplayHint

  • Enclosing class:
    Batch.Messaging

    public static class Batch.Messaging.DisplayHint
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static Batch.Messaging.DisplayHint embed​(android.widget.FrameLayout layout)
      Embed display hint: Batch will embed the banner in the given FrameLayout, no questions asked.
      static Batch.Messaging.DisplayHint findUsingView​(android.view.View view)
      Automatically find an appropriate container: Batch will use the given view as a base to walk up the view tree until it reaches the window's content view, or a CoordinatorLayout.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • findUsingView

        public static Batch.Messaging.DisplayHint findUsingView​(@NonNull
                                                                android.view.View view)
        Automatically find an appropriate container: Batch will use the given view as a base to walk up the view tree until it reaches the window's content view, or a CoordinatorLayout.
      • embed

        public static Batch.Messaging.DisplayHint embed​(@NonNull
                                                        android.widget.FrameLayout layout)
        Embed display hint: Batch will embed the banner in the given FrameLayout, no questions asked.