Context.BindAllowActivityStarts 필드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
주의
This constant will be removed in the future version. Use Android.Content.Bind enum directly instead of this field.
플래그: #bindService
표시되는 앱에서 바인딩하는 경우 바인딩된 서비스는 백그라운드에서 활동을 시작할 수 있습니다.
[Android.Runtime.Register("BIND_ALLOW_ACTIVITY_STARTS", ApiSince=34)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Content.Bind enum directly instead of this field.", true)]
public const Android.Content.Bind BindAllowActivityStarts = 512;
[<Android.Runtime.Register("BIND_ALLOW_ACTIVITY_STARTS", ApiSince=34)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Content.Bind enum directly instead of this field.", true)>]
val mutable BindAllowActivityStarts : Android.Content.Bind
필드 값
Value = 512- 특성
설명
플래그: #bindService
표시되는 앱에서 바인딩하는 경우 바인딩된 서비스는 백그라운드에서 활동을 시작할 수 있습니다. 이는 SDK 버전 android.os.Build.VERSION_CODES#UPSIDE_DOWN_CAKE
이전의 기본 동작이었습니다. 그 이후로 바인딩할 때 이 플래그를 지정하지 않는 한, 바인딩된 서비스가 백그라운드 작업을 시작할 수 없도록 기본 동작이 변경되었습니다.
에 대한 Java 설명서입니다 android.content.Context.BIND_ALLOW_ACTIVITY_STARTS
.
이 페이지의 일부는 만들고 공유하며 에 설명된 조건에 따라 사용되는 작업을 기반으로 수정됩니다.