다음을 통해 공유


Notification.Builder.SetLocalOnly(Boolean) 메서드

정의

이 알림이 다른 디바이스에 연결되지 않아야 하는지 여부를 설정합니다.

[Android.Runtime.Register("setLocalOnly", "(Z)Landroid/app/Notification$Builder;", "GetSetLocalOnly_ZHandler")]
public virtual Android.App.Notification.Builder SetLocalOnly(bool localOnly);
[<Android.Runtime.Register("setLocalOnly", "(Z)Landroid/app/Notification$Builder;", "GetSetLocalOnly_ZHandler")>]
abstract member SetLocalOnly : bool -> Android.App.Notification.Builder
override this.SetLocalOnly : bool -> Android.App.Notification.Builder

매개 변수

localOnly
Boolean

설정 true하면 알림이 로컬로만 표시됩니다(다른 디바이스에서는 표시되지 않음).

반환

특성

설명

이 페이지의 일부는 Android 오픈 소스 프로젝트에서 만들고 공유하고 Creative Commons 2.5 특성 라이선스에 설명된 용어에 따라 사용되는 작업을 기반으로 하는 수정 사항입니다.

적용 대상