public class ScreenPinningRequest extends Object implements View.OnClickListener
Constructor and Description |
---|
ScreenPinningRequest(Context context) |
Modifier and Type | Method and Description |
---|---|
void |
clearPrompt() |
FrameLayout.LayoutParams |
getRequestLayoutParams(boolean isLandscape) |
void |
onClick(View v)
Called when a view has been clicked.
|
void |
onConfigurationChanged() |
void |
showPrompt(int taskId,
boolean allowCancel) |
public ScreenPinningRequest(Context context)
public void clearPrompt()
public void showPrompt(int taskId, boolean allowCancel)
public void onConfigurationChanged()
public void onClick(View v)
View.OnClickListener
onClick
in interface View.OnClickListener
v
- The view that was clicked.public FrameLayout.LayoutParams getRequestLayoutParams(boolean isLandscape)