다음을 통해 공유


RemoteController.IOnClientUpdateListener.OnClientChange(Boolean) Method

Definition

Called whenever all information, previously received through the other methods of the listener, is no longer valid and is about to be refreshed.

[Android.Runtime.Register("onClientChange", "(Z)V", "GetOnClientChange_ZHandler:Android.Media.RemoteController/IOnClientUpdateListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnClientChange (bool clearing);
[<Android.Runtime.Register("onClientChange", "(Z)V", "GetOnClientChange_ZHandler:Android.Media.RemoteController/IOnClientUpdateListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnClientChange : bool -> unit

Parameters

clearing
Boolean

true if there is no selected RemoteControlClient and no information is available.

Attributes

Remarks

Called whenever all information, previously received through the other methods of the listener, is no longer valid and is about to be refreshed. This is typically called whenever a new RemoteControlClient has been selected by the system to have its media information published.

Java documentation for android.media.RemoteController.OnClientUpdateListener.onClientChange(boolean).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to