共用方式為


ShortcutInfo.Builder 建構函式

定義

多載

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.content.pm.ShortcutInfo.Builder.ShortcutInfo$Builder(android.content.Context, java.lang.String)Java 檔。

此頁面的部分是根據 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

備註

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於