言語

WindowManager.PropertyCompatAllowIgnoringOrientationRequestWhenLoopDetected フィールド

定義

注意事項

Use 'Android.Views.IWindowManager.PropertyCompatAllowIgnoringOrientationRequestWhenLoopDetected'. This class will be removed in a future release.

アプリのアプリケーション レベル android.content.pm.PackageManager.Property PackageManager.Propertyandroid.app.Activity#setRequestedOrientation Activity#setRequestedOrientation() ループを回避する互換性処理からアプリをオプトアウトできることをシステムに通知します。

[Android.Runtime.Register("PROPERTY_COMPAT_ALLOW_IGNORING_ORIENTATION_REQUEST_WHEN_LOOP_DETECTED", ApiSince=35)]
[System.Obsolete("Use 'Android.Views.IWindowManager.PropertyCompatAllowIgnoringOrientationRequestWhenLoopDetected'. This class will be removed in a future release.")]
public const string PropertyCompatAllowIgnoringOrientationRequestWhenLoopDetected;
[<Android.Runtime.Register("PROPERTY_COMPAT_ALLOW_IGNORING_ORIENTATION_REQUEST_WHEN_LOOP_DETECTED", ApiSince=35)>]
[<System.Obsolete("Use 'Android.Views.IWindowManager.PropertyCompatAllowIgnoringOrientationRequestWhenLoopDetected'. This class will be removed in a future release.")>]
val mutable PropertyCompatAllowIgnoringOrientationRequestWhenLoopDetected : string

フィールド値

属性

注釈

アプリのアプリケーション レベル android.content.pm.PackageManager.Property PackageManager.Propertyandroid.app.Activity#setRequestedOrientation Activity#setRequestedOrientation() ループを回避する互換性処理からアプリをオプトアウトできることをシステムに通知します。 ループは、OEM で構成された無視要求された向きの表示設定 (Android 12 (API レベル 31) 以降) またはデバイスの横向きの自然な向きによってトリガーできます。

次の条件の両方が当てはまる場合、システムはアプリからの android.app.Activity#setRequestedOrientation Activity#setRequestedOrientation() 呼び出しを無視できます。 <ul><li>Activity が 1 秒間のタイマー <li 内で 2 回以上方向を要求しました>固定方向アプリの場合、Activity はレターボックス化されません </ul>

このプロパティを false に設定すると、デバイスの製造元がアプリを処理にオプトインした場合でも、アプリを互換性処理からオプトアウトする必要があることをシステムに通知します。

このプロパティをまったく設定しないか、このプロパティを true に設定しても効果はありません。

<b>Syntax:</b>

&lt;application&gt;
              &lt;property
                android:name=
                  "android.window.PROPERTY_COMPAT_ALLOW_IGNORING_ORIENTATION_REQUEST_WHEN_LOOP_DETECTED"
                android:value="false"/&gt;
            &lt;/application&gt;

android.view.WindowManager.PROPERTY_COMPAT_ALLOW_IGNORING_ORIENTATION_REQUEST_WHEN_LOOP_DETECTEDの Java ドキュメント。

このページの一部は、Androidオープンソースプロジェクトによって作成および共有された作業に基づく変更でありCreative Commons 2.5属性ライセンスに記載されている条件に従って使用されます。

適用対象