語言

Window.Features 屬性

定義

回傳已啟用的功能位元。

protected int Features { [Android.Runtime.Register("getFeatures", "()I", "")] get; }
[<get: Android.Runtime.Register("getFeatures", "()I", "")>]
member this.Features : int

屬性值

裡面的特色部分。

屬性

備註

回傳已啟用的功能位元。 這是一組賦予 requestFeature() 的功能,並由此視窗本身或其容器處理。 也就是說,這是你實際可以使用的請求功能集合。

做法是:新增一個公開版本的 API,讓你能透過功能 ID 檢查功能。

Java 文件 android.view.Window.getFeatures()。

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

適用於