Share via


Notification.MessagingStyle 생성자

정의

오버로드

Notification.MessagingStyle(Person)
Notification.MessagingStyle(ICharSequence)

이 멤버는 더 이상 사용되지 않습니다.

Notification.MessagingStyle(String)
Notification.MessagingStyle(IntPtr, JniHandleOwnership)

Notification.MessagingStyle(Person)

[Android.Runtime.Register(".ctor", "(Landroid/app/Person;)V", "", ApiSince=28)]
public MessagingStyle (Android.App.Person user);
[<Android.Runtime.Register(".ctor", "(Landroid/app/Person;)V", "", ApiSince=28)>]
new Android.App.Notification.MessagingStyle : Android.App.Person -> Android.App.Notification.MessagingStyle

매개 변수

user
Person

필수 - 사용자가 보낸 메시지에 대해 표시되는 사람입니다. 연결된 사람이 없는 사용자와 #addMessage(Notification.MessagingStyle.Message) 함께 추가된 모든 메시지는 이 사용자가 보낸 것처럼 표시됩니다. 또한 사용자에게는 Android android.os.Build.VERSION_CODES#P부터 적용되는 유효한 이름이 연결되어 있어야 합니다.

특성

설명

에 대한 Java 설명서입니다 android.app.Notification.MessagingStyle.Notification$MessagingStyle(android.app.Person).

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

적용 대상

Notification.MessagingStyle(ICharSequence)

이 멤버는 더 이상 사용되지 않습니다.

[Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;)V", "", ApiSince=24)]
public MessagingStyle (Java.Lang.ICharSequence userDisplayName);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;)V", "", ApiSince=24)>]
new Android.App.Notification.MessagingStyle : Java.Lang.ICharSequence -> Android.App.Notification.MessagingStyle

매개 변수

userDisplayName
ICharSequence

필수 - 게시 앱이 실제로 전송된 후 사용자가 보낸 이전 메시지에서 알림을 다시 게시하기 전에 사용자가 보낸 회신에 대해 표시할 이름입니다. #addMessage(Notification.MessagingStyle.Message)

특성

설명

이 멤버는 더 이상 사용되지 않습니다. MessagingStyle(Person) 사용

에 대한 Java 설명서입니다 android.app.Notification.MessagingStyle.Notification$MessagingStyle(java.lang.CharSequence).

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

적용 대상

Notification.MessagingStyle(String)

[Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;)V", "", ApiSince=24)]
public MessagingStyle (string userDisplayName);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;)V", "", ApiSince=24)>]
new Android.App.Notification.MessagingStyle : string -> Android.App.Notification.MessagingStyle

매개 변수

userDisplayName
String
특성

설명

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

적용 대상

Notification.MessagingStyle(IntPtr, JniHandleOwnership)

protected MessagingStyle (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.App.Notification.MessagingStyle : nativeint * Android.Runtime.JniHandleOwnership -> Android.App.Notification.MessagingStyle

매개 변수

javaReference
IntPtr

nativeint

설명

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

적용 대상