Language

Notification.CallStyle.ForScreeningCall メソッド

定義

スクリーニング対象の呼び出しの CallStyle を作成します。

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

パラメーター

person
Person

人物: 呼び出し元として表示されるユーザー。 ユーザーには、空でない名前も関連付けられている必要があります。 この値は null にすることはできません。

hangUpIntent
PendingIntent

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

answerIntent
PendingIntent

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

返品

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

属性

注釈

スクリーニング対象の呼び出しの CallStyle を作成します。 この通知では、電話が切れ、応答アクションが発生し、1 つのカスタム アクションが許可され、スクリーン処理される通話の既定のコンテンツ テキストが表示されます。

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

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

適用対象