public class OmidFriendlyObstruction extends Object
Constructor and Description |
---|
OmidFriendlyObstruction(View view,
OmidFriendlyObstructionPurpose purpose,
String reason)
Creates an omid friendly obstruction with the given parameters.
|
Modifier and Type | Method and Description |
---|---|
OmidFriendlyObstructionPurpose |
getPurpose()
The
OmidFriendlyObstructionPurpose of the friendly obstruction. |
String |
getReasonString()
The reason for the friendly obstruction.
|
View |
getView()
The
View of the friendly obstruction. |
public OmidFriendlyObstruction(View view, OmidFriendlyObstructionPurpose purpose, String reason)
view
- The friendly obstruction View
. (NonNull)purpose
- The OmidFriendlyObstructionPurpose
of the friendly obstruction. (NonNull)reason
- The reason for the friendly obstruction. (Nullable)public OmidFriendlyObstructionPurpose getPurpose()
OmidFriendlyObstructionPurpose
of the friendly obstruction.OmidFriendlyObstructionPurpose
. (NonNull)public String getReasonString()