-
- All Implemented Interfaces:
public class OmidFriendlyObstruction
The configuration of the friendly obstruction.
-
-
Field Summary
Fields Modifier and Type Field Description private View
view
private 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
-
getPurpose
@NonNull() OmidFriendlyObstructionPurpose getPurpose()
The OmidFriendlyObstructionPurpose of the friendly obstruction.
-
getReasonString
@Nullable() String getReasonString()
The reason for the friendly obstruction.
-
-
-
-