語言

Notification.WearableExtender.SetHintContentIntentLaunchesActivity 方法

定義

設定提示,讓此通知的內容意圖會直接啟動活動,告訴平台它能產生適當的轉場。

[Android.Runtime.Register("setHintContentIntentLaunchesActivity", "(Z)Landroid/app/Notification$WearableExtender;", "", ApiSince=24)]
public Android.App.Notification.WearableExtender? SetHintContentIntentLaunchesActivity(bool hintContentIntentLaunchesActivity);
[<Android.Runtime.Register("setHintContentIntentLaunchesActivity", "(Z)Landroid/app/Notification$WearableExtender;", "", ApiSince=24)>]
member this.SetHintContentIntentLaunchesActivity : bool -> Android.App.Notification.WearableExtender

參數

hintContentIntentLaunchesActivity
Boolean

布林:若內容意圖將啟動活動且應產生轉場,則為 true;否則為 false。

傳回

此物件用於方法鏈結

屬性

備註

設定提示,讓此通知的內容意圖會直接啟動活動,告訴平台它能產生適當的轉場。

Android 參考資料。android.app.Notification.WearableExtender.setHintContentIntentLaunchesActivity

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

適用於