Language

UiModeManager.CurrentModeType プロパティ

定義

現在の実行モードの種類を返します。

public virtual Android.Content.Res.UiMode CurrentModeType { [Android.Runtime.Register("getCurrentModeType", "()I", "GetGetCurrentModeTypeHandler")] get; }
[<get: Android.Runtime.Register("getCurrentModeType", "()I", "GetGetCurrentModeTypeHandler")>]
member this.CurrentModeType : Android.Content.Res.UiMode

プロパティ値

属性

注釈

現在の実行モードの種類を返します。 Configuration.UI_MODE_TYPE_NORMAL、Configuration.UI_MODE_TYPE_DESK、Configuration.UI_MODE_TYPE_CAR、Configuration.UI_MODE_TYPE_TELEVISION、Configuration.UI_MODE_TYPE_APPLIANCE、Configuration.UI_MODE_TYPE_WATCH、またはConfiguration.UI_MODE_TYPE_VR_HEADSETのいずれかです。

android.app.UiModeManager.getCurrentModeTypeの Android リファレンス。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象