Package com.theoplayer.android.api.ads
Class OmidFriendlyObstruction
-
- All Implemented Interfaces:
public class OmidFriendlyObstruction
The configuration of the friendly obstruction.
-
-
Field Summary
Fields Modifier and Type Field Description public View
view
public OmidFriendlyObstructionPurpose
purpose
-
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 View
getView()
The View of the friendly obstruction. OmidFriendlyObstructionPurpose
getPurpose()
The OmidFriendlyObstructionPurpose of the friendly obstruction. String
getReasonString()
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)
-
-
-
-