Notification.CallStyle.ForIncomingCall メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
着信呼び出しの CallStyle を作成します。
[Android.Runtime.Register("forIncomingCall", "(Landroid/app/Person;Landroid/app/PendingIntent;Landroid/app/PendingIntent;)Landroid/app/Notification$CallStyle;", "", ApiSince=31)]
public static Android.App.Notification.CallStyle ForIncomingCall(Android.App.Person person, Android.App.PendingIntent declineIntent, Android.App.PendingIntent answerIntent);
[<Android.Runtime.Register("forIncomingCall", "(Landroid/app/Person;Landroid/app/PendingIntent;Landroid/app/PendingIntent;)Landroid/app/Notification$CallStyle;", "", ApiSince=31)>]
static member ForIncomingCall : Android.App.Person * Android.App.PendingIntent * Android.App.PendingIntent -> Android.App.Notification.CallStyle
パラメーター
- person
- Person
人物: 呼び出し元として表示されるユーザー。 ユーザーには、空でない名前も関連付けられている必要があります。 この値は null にすることはできません。
- declineIntent
- PendingIntent
PendingIntent: ユーザーが拒否アクションをタップしたときに送信される意図。 この値は null にすることはできません。
- answerIntent
- PendingIntent
PendingIntent: ユーザーが応答アクションをタップしたときに送信される意図。 この値は null にすることはできません。
戻り値
この Android.App.Notification.CallStyle インスタンス。呼び出しをチェーンできます。
- 属性
注釈
着信呼び出しの CallStyle を作成します。 この通知には拒否アクションと応答アクションがあり、1 つのカスタム アクションが許可され、着信通話の既定のコンテンツ テキストが含まれます。
android.app.Notification.CallStyle.forIncomingCallの Android リファレンス。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。