語言

Notification.Builder.SetActions(Notification+Action[]) 方法

定義

更改本通知所附的完整行動清單。

[Android.Runtime.Register("setActions", "([Landroid/app/Notification$Action;)Landroid/app/Notification$Builder;", "GetSetActions_arrayLandroid_app_Notification_Action_Handler", ApiSince=24)]
public virtual Android.App.Notification.Builder SetActions(params Android.App.Notification.Action[]? actions);
[<Android.Runtime.Register("setActions", "([Landroid/app/Notification$Action;)Landroid/app/Notification$Builder;", "GetSetActions_arrayLandroid_app_Notification_Action_Handler", ApiSince=24)>]
abstract member SetActions : Android.App.Notification.Action[] -> Android.App.Notification.Builder
override this.SetActions : Android.App.Notification.Action[] -> Android.App.Notification.Builder

參數

actions
Notification.Action[]

Action

傳回

這個 Android.App.Notification.Builder 實例,允許通話串接。

屬性

備註

更改本通知所附的完整行動清單。

另請參閱:

Android 參考資料。android.app.Notification.Builder.setActions

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

適用於