Language

NetworkSecurityPolicy.Builder コンストラクター

定義

オーバーロード

Name 説明
NetworkSecurityPolicy.Builder(Context)

ネットワーク セキュリティ ポリシーのビルダーを作成します。

NetworkSecurityPolicy.Builder(Context, Boolean)

ネットワーク セキュリティ ポリシーのビルダーを作成します。

NetworkSecurityPolicy.Builder(Context)

ネットワーク セキュリティ ポリシーのビルダーを作成します。

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;)V", "", ApiSince=37)]
public Builder(Android.Content.Context appContext);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;)V", "", ApiSince=37)>]
new Android.Security.NetworkSecurityPolicy.Builder : Android.Content.Context -> Android.Security.NetworkSecurityPolicy.Builder

パラメーター

appContext
Context

アプリケーション Context。 null にすることはできません。

属性

注釈

ネットワーク セキュリティ ポリシーのビルダーを作成します。 ビルダーは、アプリの SDK ターゲット レベルの既定値で初期化されます。

android.security.NetworkSecurityPolicy.Builder.Builderの Android リファレンス。

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

適用対象

NetworkSecurityPolicy.Builder(Context, Boolean)

ネットワーク セキュリティ ポリシーのビルダーを作成します。

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Z)V", "", ApiSince=37)]
public Builder(Android.Content.Context appContext, bool inheritNetworkSecurityConfig);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Z)V", "", ApiSince=37)>]
new Android.Security.NetworkSecurityPolicy.Builder : Android.Content.Context * bool -> Android.Security.NetworkSecurityPolicy.Builder

パラメーター

appContext
Context

アプリケーション Context。 null にすることはできません。

inheritNetworkSecurityConfig
Boolean

true の場合は、アプリのネットワーク セキュリティ構成の内容を使用してビルダーを初期化します。false の場合は、アプリの SDK レベルの既定値を使用してビルダーを初期化します。

属性

注釈

ネットワーク セキュリティ ポリシーのビルダーを作成します。 ビルダーは、アプリのネットワーク セキュリティ構成 XML の内容、またはアプリの SDK ターゲット レベルの既定値を使用して初期化されます。

android.security.NetworkSecurityPolicy.Builder.Builderの Android リファレンス。

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

適用対象