Language

Notification.Builder.SetPublicVersion(Notification) メソッド

定義

安全でないコンテキストで内容を表示する必要がある代替通知を指定します (つまり、

[Android.Runtime.Register("setPublicVersion", "(Landroid/app/Notification;)Landroid/app/Notification$Builder;", "GetSetPublicVersion_Landroid_app_Notification_Handler")]
public virtual Android.App.Notification.Builder SetPublicVersion(Android.App.Notification? n);
[<Android.Runtime.Register("setPublicVersion", "(Landroid/app/Notification;)Landroid/app/Notification$Builder;", "GetSetPublicVersion_Landroid_app_Notification_Handler")>]
abstract member SetPublicVersion : Android.App.Notification -> Android.App.Notification.Builder
override this.SetPublicVersion : Android.App.Notification -> Android.App.Notification.Builder

パラメーター

n
Notification

通知: 置換通知 (おそらく、一部またはすべての情報が編集された状態)

返品

この Android.App.Notification.Builder インスタンス。呼び出しをチェーンできます。

属性

注釈

安全でないコンテキスト (つまり、セキュリティで保護されたロック画面の上) にコンテンツを表示する必要がある代替通知を提供します。 Notification.visibility とNotification.VISIBILITY_PUBLICを参照してください。

android.app.Notification.Builder.setPublicVersionの Android リファレンス。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象