AppWidgetHost コンストラクター

定義

オーバーロード

名前 説明
AppWidgetHost(Context, Int32)
AppWidgetHost(IntPtr, JniHandleOwnership)

JNI オブジェクトのマネージド表現を作成するときに使用されるコンストラクター。ランタイムによって呼び出されます。

AppWidgetHost(Context, Int32)

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;I)V", "")]
public AppWidgetHost(Android.Content.Context? context, int hostId);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;I)V", "")>]
new Android.Appwidget.AppWidgetHost : Android.Content.Context * int -> Android.Appwidget.AppWidgetHost

パラメーター

context
Context
hostId
Int32
属性

注釈

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

適用対象

AppWidgetHost(IntPtr, JniHandleOwnership)

JNI オブジェクトのマネージド表現を作成するときに使用されるコンストラクター。ランタイムによって呼び出されます。

protected AppWidgetHost(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Appwidget.AppWidgetHost : nativeint * Android.Runtime.JniHandleOwnership -> Android.Appwidget.AppWidgetHost

パラメーター

javaReference
IntPtr

nativeint

Java ネイティブ インターフェイス (JNI) オブジェクト参照を含むIntPtr

transfer
JniHandleOwnership

JniHandleOwnership処理方法を示すjavaReference

注釈

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

適用対象