public class CompanionAdContainer
public CompanionAdContainer(@NotNull android.view.ViewGroup container, int width, int height)
container
- The ViewGroup where companion ads shall be displayed.width
- The width of the companion ad that shall be displayed.Note: The IMA SDK requires the size of the class CompanionAdContainer
to explicitly match the desired companion ad.height
- The height of the companion ad that shall be displayed.Note: The IMA SDK requires the size of the class CompanionAdContainer
to explicitly match the desired companion ad.@NotNull public android.view.ViewGroup getContainer()
The
ViewGroup where companion ads shall be displayed.
public int getWidth()
The width of the companion ad that shall be displayed.
Note: The IMA SDK requires the size of the class CompanionAdContainer
to explicitly match the desired companion ad.
class CompanionAdContainer
public int getHeight()
The height of the companion ad that shall be displayed.
Note: The IMA SDK requires the size of the class CompanionAdContainer
to explicitly match the desired companion ad.
class CompanionAdContainer
@NotNull public android.view.ViewGroup component1()
The
ViewGroup where companion ads shall be displayed.
public int component2()
The width of the companion ad that shall be displayed.
Note: The IMA SDK requires the size of the class CompanionAdContainer
to explicitly match the desired companion ad.
class CompanionAdContainer
public int component3()
The height of the companion ad that shall be displayed.
Note: The IMA SDK requires the size of the class CompanionAdContainer
to explicitly match the desired companion ad.
class CompanionAdContainer
@NotNull public CompanionAdContainer copy(@NotNull android.view.ViewGroup container, int width, int height)
@NotNull public java.lang.String toString()
public int hashCode()
public boolean equals(@Nullable java.lang.Object p)