Skip to content

Content Frame

awallace87 edited this page Aug 23, 2016 · 1 revision

Custom Content Frame

By default, the Yieldmo SDK will automatically attempt to determine the size and position of the main content window in the application.

However, some applications might make use of their own UI elements that influence the size of the main content view. In order to accommodate the wide variety of applications and their corresponding user interfaces, the Yieldmo SDK can be configured to work with a custom content window through the following API:

Yieldmo.setContentFrame(Rect contentFrame);

The contentFrame Rect object should reflect the size and position of the content window on the Screen in pixels.

When this is set, the contentFrame will be used by the SDK to calculate the visibility of Placement Views and their corresponding advertisements.

Android-SDK-Beta

  • Home
  • [Key Terms](Key Terms)

Start Here


  • [Listening for Ad Events](Listening for Ad Events)
  • Additional Settings
  • [Page View](Page View)
  • [Custom Content Frame](Content Frame)
  • Proguard

Have a previous SDK?

  • [Upgrade Guide](Upgrade Guide)

Clone this wiki locally