Package com.theoplayer.android.api.ads
Class OmidFriendlyObstruction
-
- All Implemented Interfaces:
public class OmidFriendlyObstructionThe configuration of the friendly obstruction.
-
-
Field Summary
Fields Modifier and Type Field Description public Viewviewpublic OmidFriendlyObstructionPurposepurpose
-
Constructor Summary
Constructors Constructor Description OmidFriendlyObstruction(View view, OmidFriendlyObstructionPurpose purpose, String reason)Creates an omid friendly obstruction with the given parameters.
-
Method Summary
Modifier and Type Method Description ViewgetView()The View of the friendly obstruction. OmidFriendlyObstructionPurposegetPurpose()The OmidFriendlyObstructionPurpose of the friendly obstruction. StringgetReasonString()The reason for the friendly obstruction. -
-
Constructor Detail
-
OmidFriendlyObstruction
OmidFriendlyObstruction(View view, OmidFriendlyObstructionPurpose purpose, String reason)
Creates an omid friendly obstruction with the given parameters.- Parameters:
view- The friendly obstruction View.purpose- The OmidFriendlyObstructionPurpose of the friendly obstruction.reason- The reason for the friendly obstruction.
-
-
Method Detail
-
getView
@NonNull() View getView()
The View of the friendly obstruction.
- Returns:
The View. (NonNull)
-
getPurpose
@NonNull() OmidFriendlyObstructionPurpose getPurpose()
The OmidFriendlyObstructionPurpose of the friendly obstruction.
- Returns:
The OmidFriendlyObstructionPurpose. (NonNull)
-
getReasonString
@Nullable() String getReasonString()
The reason for the friendly obstruction.
- Returns:
The friendly obstruction reason. (Nullable)
-
-
-
-