PendingIntent or a SurfacePackage, but not both.
CREATOR
: final Creator< VolumetricWindowPlacementParams > | Parcelable.Creator that reconstructs instances from a Parcel.
Signature
final Creator<VolumetricWindowPlacementParams> metavr.app.volumetricwindow.VolumetricWindowPlacementParams.CREATOR |
describeContents
()
|
Describes the special objects contained in this parcelable; always 0.
Signature
int metavr.app.volumetricwindow.VolumetricWindowPlacementParams.describeContents() Returns int |
toString
()
|
Returns a debug string representation of this object.
Signature
String metavr.app.volumetricwindow.VolumetricWindowPlacementParams.toString() Returns String |
writeToParcel
(
dest
, flags
)
|
Flattens this object into the given Parcel.
Signature
void metavr.app.volumetricwindow.VolumetricWindowPlacementParams.writeToParcel(Parcel dest, int flags) Parameters dest: Parcelflags: intReturns void |
Builder
()
|
Creates a new Builder.
Signature
metavr.app.volumetricwindow.VolumetricWindowPlacementParams.Builder.Builder() |
build
()
|
Builds the VolumetricWindowPlacementParams.
Signature
VolumetricWindowPlacementParams metavr.app.volumetricwindow.VolumetricWindowPlacementParams.Builder.build() |
setLayoutParams
(
value
)
|
Sets the layout parameters used to position the window.
Signature
Builder metavr.app.volumetricwindow.VolumetricWindowPlacementParams.Builder.setLayoutParams(VolumetricWindowLayoutParams value) Parameters value: VolumetricWindowLayoutParamsReturns Builder |
setParentWindowToken
(
value
)
|
Sets the parent window's token, when placing a child window.
Signature
Builder metavr.app.volumetricwindow.VolumetricWindowPlacementParams.Builder.setParentWindowToken(VolumetricWindowToken value) Parameters value: VolumetricWindowTokenReturns Builder |
setPendingIntent
(
value
)
|
Sets the PendingIntent providing the window content.
A window's content source is mutually exclusive: only one of setPendingIntent(PendingIntent) or Builder.setSurfacePackage may be set. Specifying both causes Builder.build() to throw IllegalArgumentException.
Signature
Builder metavr.app.volumetricwindow.VolumetricWindowPlacementParams.Builder.setPendingIntent(PendingIntent value) Parameters value: PendingIntentReturns Builder |
setRequestedBounds
(
value
)
|
Sets the requested 3D bounds of the window.
Signature
Builder metavr.app.volumetricwindow.VolumetricWindowPlacementParams.Builder.setRequestedBounds(Extent3f value) Parameters value: Extent3fReturns Builder |
setRequestedPose
(
value
)
|
Sets the requested pose of the window.
Signature
Builder metavr.app.volumetricwindow.VolumetricWindowPlacementParams.Builder.setRequestedPose(Pose value) Parameters value: PoseReturns Builder |
setRequestedSurfaceSize
(
value
)
|
Sets the requested 2D surface size of the window.
Signature
Builder metavr.app.volumetricwindow.VolumetricWindowPlacementParams.Builder.setRequestedSurfaceSize(Size value) Parameters value: SizeReturns Builder |
setSurfacePackage
(
value
)
|
Sets the SurfacePackage providing the window content.
A window's content source is mutually exclusive: only one of setSurfacePackage(SurfacePackage) or Builder.setPendingIntent may be set. Specifying both causes Builder.build() to throw IllegalArgumentException.
Signature
Builder metavr.app.volumetricwindow.VolumetricWindowPlacementParams.Builder.setSurfacePackage(SurfacePackage value) Parameters value: SurfacePackageReturns Builder |