Language

Notification.CallStyle.ForOngoingCall(Person, PendingIntent) メソッド

定義

進行中の呼び出しの CallStyle を作成します。

[Android.Runtime.Register("forOngoingCall", "(Landroid/app/Person;Landroid/app/PendingIntent;)Landroid/app/Notification$CallStyle;", "", ApiSince=31)]
public static Android.App.Notification.CallStyle ForOngoingCall(Android.App.Person person, Android.App.PendingIntent hangUpIntent);
[<Android.Runtime.Register("forOngoingCall", "(Landroid/app/Person;Landroid/app/PendingIntent;)Landroid/app/Notification$CallStyle;", "", ApiSince=31)>]
static member ForOngoingCall : Android.App.Person * Android.App.PendingIntent -> Android.App.Notification.CallStyle

パラメーター

person
Person

人物: 通話のもう一方の端に表示されたユーザー。 ユーザーには、空でない名前も関連付けられている必要があります。 この値は null にすることはできません。

hangUpIntent
PendingIntent

PendingIntent: ユーザーがハングアップ アクションをタップしたときに送信される意図。 この値は null にすることはできません。

返品

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

属性

注釈

進行中の呼び出しの CallStyle を作成します。 この通知には、ハングアップ アクションがあり、最大 2 つのカスタム アクションが許可され、進行中の通話用の既定のコンテンツ テキストが含まれます。

android.app.Notification.CallStyle.forOngoingCallの Android リファレンス。

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

適用対象