언어

Context.SendStickyBroadcast 메서드

정의

오버로드

속성 Description
SendStickyBroadcast(Intent)
사용되지 않음.

#sendBroadcast(Intent) 브로드캐스트가 완료된 후 보내는 의도가 유지되므로 다른 사용자가 반환 값을 #registerReceiver(BroadcastReceiver, IntentFilter)통해 해당 데이터를 신속하게 검색할 수 있도록 "고정"을 수행합니다.

SendStickyBroadcast(Intent, Bundle)

#sendBroadcast(Intent) 브로드캐스트가 완료된 후 보내는 의도가 유지되므로 다른 사용자가 반환 값을 #registerReceiver(BroadcastReceiver, IntentFilter)통해 해당 데이터를 신속하게 검색할 수 있도록 "고정"을 수행합니다.

SendStickyBroadcast(Intent)

주의

deprecated

#sendBroadcast(Intent) 브로드캐스트가 완료된 후 보내는 의도가 유지되므로 다른 사용자가 반환 값을 #registerReceiver(BroadcastReceiver, IntentFilter)통해 해당 데이터를 신속하게 검색할 수 있도록 "고정"을 수행합니다.

[Android.Runtime.Register("sendStickyBroadcast", "(Landroid/content/Intent;)V", "GetSendStickyBroadcast_Landroid_content_Intent_Handler")]
[Android.Runtime.RequiresPermission("android.permission.BROADCAST_STICKY")]
[System.Obsolete("deprecated")]
public abstract void SendStickyBroadcast(Android.Content.Intent? intent);
[<Android.Runtime.Register("sendStickyBroadcast", "(Landroid/content/Intent;)V", "GetSendStickyBroadcast_Landroid_content_Intent_Handler")>]
[<Android.Runtime.RequiresPermission("android.permission.BROADCAST_STICKY")>]
[<System.Obsolete("deprecated")>]
abstract member SendStickyBroadcast : Android.Content.Intent -> unit

매개 변수

intent
Intent

브로드캐스트할 의도입니다. 이 의도와 일치하는 모든 수신기는 브로드캐스트를 수신하고 의도는 향후 수신자에게 다시 브로드캐스트되도록 유지됩니다.

특성

설명

#sendBroadcast(Intent) 브로드캐스트가 완료된 후 보내는 의도가 유지되므로 다른 사용자가 반환 값을 #registerReceiver(BroadcastReceiver, IntentFilter)통해 해당 데이터를 신속하게 검색할 수 있도록 "고정"을 수행합니다. 다른 모든 방법으로 이 동작은 .와 동일하게 #sendBroadcast(Intent)동작합니다.

이 멤버는 더 이상 사용되지 않습니다. 고정 브로드캐스트를 사용하면 안 됩니다. 보안(누구나 액세스할 수 있음), 보호(누구나 수정할 수 있음) 및 기타 많은 문제를 제공하지 않습니다. 권장되는 패턴은 고정되지 않은 브로드캐스트를 사용하여 앱이 <>원하는 때마다 현재 값을 검색하는 다른 메커니즘과 함께 변경된 것을<> 보고하는 것입니다.

에 대한 android.content.Context.sendStickyBroadcast(android.content.Intent)Java 설명서

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

참고 항목

  • SendBroadcast(Intent)
  • <xref:Android.Content.Context.SendStickyOrderedBroadcast(Android.Content.Intent%2c+Android.Content.BroadcastReceiver%2c+Android.Content.BroadcastReceiver%2c+Android.Content.BroadcastReceiver%2c+Android.Content.BroadcastReceiver%2c+Android.Content.BroadcastReceiver)>

적용 대상

SendStickyBroadcast(Intent, Bundle)

#sendBroadcast(Intent) 브로드캐스트가 완료된 후 보내는 의도가 유지되므로 다른 사용자가 반환 값을 #registerReceiver(BroadcastReceiver, IntentFilter)통해 해당 데이터를 신속하게 검색할 수 있도록 "고정"을 수행합니다.

[Android.Runtime.Register("sendStickyBroadcast", "(Landroid/content/Intent;Landroid/os/Bundle;)V", "GetSendStickyBroadcast_Landroid_content_Intent_Landroid_os_Bundle_Handler", ApiSince=31)]
[Android.Runtime.RequiresPermission("android.permission.BROADCAST_STICKY")]
public virtual void SendStickyBroadcast(Android.Content.Intent intent, Android.OS.Bundle? options);
[<Android.Runtime.Register("sendStickyBroadcast", "(Landroid/content/Intent;Landroid/os/Bundle;)V", "GetSendStickyBroadcast_Landroid_content_Intent_Landroid_os_Bundle_Handler", ApiSince=31)>]
[<Android.Runtime.RequiresPermission("android.permission.BROADCAST_STICKY")>]
abstract member SendStickyBroadcast : Android.Content.Intent * Android.OS.Bundle -> unit
override this.SendStickyBroadcast : Android.Content.Intent * Android.OS.Bundle -> unit

매개 변수

intent
Intent

브로드캐스트할 의도입니다. 이 의도와 일치하는 모든 수신기는 브로드캐스트를 수신하고 의도는 향후 수신자에게 다시 브로드캐스트되도록 유지됩니다.

options
Bundle

(선택 사항) 에서 생성된 android.app.BroadcastOptions추가 전송 옵션입니다.

특성

설명

#sendBroadcast(Intent) 브로드캐스트가 완료된 후 보내는 의도가 유지되므로 다른 사용자가 반환 값을 #registerReceiver(BroadcastReceiver, IntentFilter)통해 해당 데이터를 신속하게 검색할 수 있도록 "고정"을 수행합니다. 다른 모든 방법으로 이 동작은 .와 동일하게 #sendBroadcast(Intent)동작합니다.

이 멤버는 더 이상 사용되지 않습니다. 고정 브로드캐스트를 사용하면 안 됩니다. 보안(누구나 액세스할 수 있음), 보호(누구나 수정할 수 있음) 및 기타 많은 문제를 제공하지 않습니다. 권장되는 패턴은 고정되지 않은 브로드캐스트를 사용하여 앱이 <>원하는 때마다 현재 값을 검색하는 다른 메커니즘과 함께 변경된 것을<> 보고하는 것입니다.

에 대한 android.content.Context.sendStickyBroadcast(android.content.Intent, android.os.Bundle)Java 설명서

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

적용 대상