public final class BrightcovePictureInPictureParams
extends java.lang.Object
implements android.os.Parcelable
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
BrightcovePictureInPictureParams.Builder
Builder class for  
BrightcovePictureInPictureParams objects. | 
| Modifier and Type | Field and Description | 
|---|---|
static android.os.Parcelable.Creator<BrightcovePictureInPictureParams> | 
CREATOR  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
copyOnlySet(BrightcovePictureInPictureParams otherArgs)
Copies the set parameters from the other picture-in-picture args. 
 | 
int | 
describeContents()  | 
java.util.List<android.app.RemoteAction> | 
getActions()  | 
android.app.PictureInPictureParams | 
getAndroidPictureInPictureParams()
Gets the Android  
PictureInPictureParams. | 
float | 
getAspectRatio()  | 
android.util.Rational | 
getAspectRatioRational()
Gets aspect ratio rational. 
 | 
float | 
getClosedCaptionsReductionScaleFactor()  | 
android.graphics.Rect | 
getSourceRectHint()  | 
boolean | 
hasSetActions()  | 
boolean | 
hasSetAspectRatio()  | 
boolean | 
hasSourceBoundsHint()  | 
boolean | 
isClosedCaptionsEnabled()  | 
boolean | 
isOnUserLeaveEnabled()
Returns true if the Activity will enter into Picture in Picture mode when the user puts the activity in
 the background, for example, when of pressing the Home key. 
 | 
void | 
truncateActions(int size)
Truncates the set of actions to the given . 
 | 
void | 
writeToParcel(android.os.Parcel out,
             int flags)  | 
public static final android.os.Parcelable.Creator<BrightcovePictureInPictureParams> CREATOR
public void copyOnlySet(BrightcovePictureInPictureParams otherArgs)
public float getAspectRatio()
public android.util.Rational getAspectRatioRational()
public boolean hasSetAspectRatio()
public java.util.List<android.app.RemoteAction> getActions()
public boolean hasSetActions()
public void truncateActions(int size)
public android.graphics.Rect getSourceRectHint()
public boolean hasSourceBoundsHint()
public boolean isClosedCaptionsEnabled()
public boolean isOnUserLeaveEnabled()
public float getClosedCaptionsReductionScaleFactor()
public android.app.PictureInPictureParams getAndroidPictureInPictureParams()
PictureInPictureParams.
 Available only for Android 8+public int describeContents()
describeContents in interface android.os.Parcelablepublic void writeToParcel(android.os.Parcel out,
                          int flags)
writeToParcel in interface android.os.Parcelable