언어

Context.UpdateServiceBindings 메서드

정의

기존 바인딩의 일괄 업데이트를 수행합니다.

[Android.Runtime.Register("updateServiceBindings", "(Ljava/util/Collection;)V", "GetUpdateServiceBindings_Ljava_util_Collection_Handler", ApiSince=37)]
public virtual void UpdateServiceBindings(System.Collections.Generic.ICollection<Android.Content.Context.UpdateBindingParams> params);
[<Android.Runtime.Register("updateServiceBindings", "(Ljava/util/Collection;)V", "GetUpdateServiceBindings_Ljava_util_Collection_Handler", ApiSince=37)>]
abstract member UpdateServiceBindings : System.Collections.Generic.ICollection<Android.Content.Context.UpdateBindingParams> -> unit
override this.UpdateServiceBindings : System.Collections.Generic.ICollection<Android.Content.Context.UpdateBindingParams> -> unit

매개 변수

params
ICollection<Context.UpdateBindingParams>

업데이트할 바인딩의 컬렉션입니다.

특성

설명

기존 바인딩의 일괄 업데이트를 수행합니다. 기존 바인딩은 업데이트된 플래그 집합을 사용하여 리바운드하거나 바인딩 해제할 수 있습니다. getUpdateableFlags()에서 반환된 플래그만 추가하거나 제거할 수 있습니다.

이 API는 rebindService(ServiceConnection,BindServiceFlags) 및 unbindService(ServiceConnection) API가 매개 변수가 반복되는 순서와 동일한 순서로 호출되는 것처럼 동작합니다.

에 대한 android.content.Context.updateServiceBindingsAndroid 참조

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

적용 대상