RemoteCallbackList.Broadcast(IConsumer) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Performs callback
on each registered interface.
[Android.Runtime.Register("broadcast", "(Ljava/util/function/Consumer;)V", "GetBroadcast_Ljava_util_function_Consumer_Handler", ApiSince=36)]
public virtual void Broadcast(Java.Util.Functions.IConsumer callback);
[<Android.Runtime.Register("broadcast", "(Ljava/util/function/Consumer;)V", "GetBroadcast_Ljava_util_function_Consumer_Handler", ApiSince=36)>]
abstract member Broadcast : Java.Util.Functions.IConsumer -> unit
override this.Broadcast : Java.Util.Functions.IConsumer -> unit
Parameters
- callback
- IConsumer
- Attributes
Remarks
Performs callback
on each registered interface.
This is equivalent to #beginBroadcast, followed by iterating over the items using #getBroadcastItem and then
Java documentation for android.os.RemoteCallbackList.broadcast(java.util.function.Consumer<E>)
.
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.