Language

SurfaceControlViewHost.SurfacePackage Constructor

Definition

Constructs a copy of SurfacePackage with an independent lifetime. The caller can use this to create an independent copy in situations where ownership of the SurfacePackage would be transferred elsewhere, such as attaching to a SurfaceView , returning as Binder result value, etc. The caller is responsible for releasing this copy when its done.

[Android.Runtime.Register(".ctor", "(Landroid/view/SurfaceControlViewHost$SurfacePackage;)V", "", ApiSince=31)]
public SurfacePackage(Android.Views.SurfaceControlViewHost.SurfacePackage other);
[<Android.Runtime.Register(".ctor", "(Landroid/view/SurfaceControlViewHost$SurfacePackage;)V", "", ApiSince=31)>]
new Android.Views.SurfaceControlViewHost.SurfacePackage : Android.Views.SurfaceControlViewHost.SurfacePackage -> Android.Views.SurfaceControlViewHost.SurfacePackage

Parameters

other
SurfaceControlViewHost.SurfacePackage

The Android.Views.SurfaceControlViewHost+SurfacePackage value used for other.

Attributes

Remarks

For details, see the Android reference documentation for android.view.SurfaceControlViewHost.SurfacePackage.SurfacePackage.

Java documentation for android.view.SurfaceControlViewHost.SurfacePackage.SurfacePackage.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to