언어

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을 만듭니다. 이 알림에는 중단 작업이 있고, 최대 두 개의 사용자 지정 작업이 허용되며, 진행 중인 호출에 대한 기본 콘텐츠 텍스트가 포함됩니다.

에 대한 android.app.Notification.CallStyle.forOngoingCallAndroid 참조

이 페이지의 일부는 만들고 공유한 작업을 기반으로 하며 에 설명된 조건에 따라 사용됩니다.

적용 대상