public static interface Window.WindowControllerCallback
Modifier and Type | Method and Description |
---|---|
void |
enterPictureInPictureModeIfPossible()
Puts the activity in picture-in-picture mode if the activity supports.
|
void |
exitFreeformMode()
Moves the activity from
ActivityManager.StackId.FREEFORM_WORKSPACE_STACK_ID to
ActivityManager.StackId.FULLSCREEN_WORKSPACE_STACK_ID stack. |
int |
getWindowStackId()
Returns the current stack Id for the window.
|
void exitFreeformMode() throws RemoteException
ActivityManager.StackId.FREEFORM_WORKSPACE_STACK_ID
to
ActivityManager.StackId.FULLSCREEN_WORKSPACE_STACK_ID
stack.RemoteException
void enterPictureInPictureModeIfPossible()
android.R.attr#supportsPictureInPicture
int getWindowStackId() throws RemoteException
RemoteException