語言

ShortcutInfo.Builder.SetStartingTheme(Int32) 方法

定義

為啟動畫面設定主題資源 ID。

[Android.Runtime.Register("setStartingTheme", "(I)Landroid/content/pm/ShortcutInfo$Builder;", "GetSetStartingTheme_IHandler", ApiSince=31)]
public virtual Android.Content.PM.ShortcutInfo.Builder SetStartingTheme(int themeResId);
[<Android.Runtime.Register("setStartingTheme", "(I)Landroid/content/pm/ShortcutInfo$Builder;", "GetSetStartingTheme_IHandler", ApiSince=31)>]
abstract member SetStartingTheme : int -> Android.Content.PM.ShortcutInfo.Builder
override this.SetStartingTheme : int -> Android.Content.PM.ShortcutInfo.Builder

參數

themeResId
Int32

傳回

屬性

備註

為啟動畫面設定主題資源 ID。

Android 參考資料。android.content.pm.ShortcutInfo.Builder.setStartingTheme

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於