語言

Window.SetType(WindowManagerTypes) 方法

定義

依照 WindowManager 設定視窗類型。

[Android.Runtime.Register("setType", "(I)V", "GetSetType_IHandler")]
public virtual void SetType(Android.Views.WindowManagerTypes type);
[<Android.Runtime.Register("setType", "(I)V", "GetSetType_IHandler")>]
abstract member SetType : Android.Views.WindowManagerTypes -> unit
override this.SetType : Android.Views.WindowManagerTypes -> unit

參數

type
WindowManagerTypes

新的視窗類型(參見 WindowManager.LayoutParams)。

屬性

備註

設定視窗的類型,依照 WindowManager.LayoutParams 的類型。

Java 文件 android.view.Window.setType(int)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於