Language

WindowManager.PropertyCompatAllowSandboxingViewBoundsApis フィールド

定義

注意事項

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

アプリケーション レベル android.content.pm.PackageManager.Property PackageManager.Property 、 android.view.View View API をサンドボックス化する互換性処理からオプトアウトする必要があることをシステムに通知します。

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

フィールド値

属性

注釈

アプリケーション レベル android.content.pm.PackageManager.Property PackageManager.Property 、 android.view.View View API をサンドボックス化する互換性処理からオプトアウトする必要があることをシステムに通知します。

この処理は、android.view.View Viewとandroid.view.View#getLocationOnScreen View#getLocationOnScreen()が画面の左上隅に配置されているかのように座標を返し、左座標が 0 に等しい場合に、android.view.View#getWindowVisibleDisplayFrame View#getWindowVisibleDisplayFrame() API を誤用するアプリケーションに対してデバイスの製造元によって有効にすることができます。 これは、マルチウィンドウ モードとレターボックス モードのアプリケーションでは当てはまるとは言えない場合があります。

このプロパティを false に設定すると、デバイスの製造元がアプリを処理にオプトインした場合でも、アプリケーションを "Sandbox View API to Activity bounds" 処理からオプトアウトする必要があることをシステムに通知します。

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

構文:

<application>
<property
                android:name="android.window.PROPERTY_COMPAT_ALLOW_SANDBOXING_VIEW_BOUNDS_APIS"
                android:value="false"/>
</application>

Javaドキュメント。

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

適用対象