ShortcutInfo.Builder 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
ShortcutInfo.Builder(Context, String)
建構函式。
[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Ljava/lang/String;)V", "", ApiSince=25)]
public Builder(Android.Content.Context? context, string? id);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Ljava/lang/String;)V", "", ApiSince=25)>]
new Android.Content.PM.ShortcutInfo.Builder : Android.Content.Context * string -> Android.Content.PM.ShortcutInfo.Builder
參數
- context
- Context
用戶端內容。
- id
- String
快捷方式的標識碼。
- 屬性
備註
建構函式。
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。
適用於
ShortcutInfo.Builder(IntPtr, JniHandleOwnership)
protected Builder(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Content.PM.ShortcutInfo.Builder : nativeint * Android.Runtime.JniHandleOwnership -> Android.Content.PM.ShortcutInfo.Builder
參數
- javaReference
-
IntPtr
nativeint
- transfer
- JniHandleOwnership
備註
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。