语言

SurfaceView.ClearChildSurfacePackage 方法

定义

清除在此 SurfaceView 上设置的 SurfaceControlViewHost.SurfacePackage 项。

[Android.Runtime.Register("clearChildSurfacePackage", "()V", "GetClearChildSurfacePackageHandler", ApiSince=36)]
public virtual void ClearChildSurfacePackage();
[<Android.Runtime.Register("clearChildSurfacePackage", "()V", "GetClearChildSurfacePackageHandler", ApiSince=36)>]
abstract member ClearChildSurfacePackage : unit -> unit
override this.ClearChildSurfacePackage : unit -> unit
特性

注解

清除在此 SurfaceView 上设置的 SurfaceControlViewHost.SurfacePackage 项。 这会隐藏提供 SurfaceControlViewHost.SurfacePackage的任何内容。

Java文档android.view.SurfaceView.clearChildSurfacePackage()。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于