Flow.ISubscriber.OnNext(Object) 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.
Method invoked with a Subscription's next item.
[Android.Runtime.Register("onNext", "(Ljava/lang/Object;)V", "GetOnNext_Ljava_lang_Object_Handler:Java.Util.Concurrent.Flow/ISubscriberInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=30)]
public void OnNext (Java.Lang.Object? item);
[<Android.Runtime.Register("onNext", "(Ljava/lang/Object;)V", "GetOnNext_Ljava_lang_Object_Handler:Java.Util.Concurrent.Flow/ISubscriberInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=30)>]
abstract member OnNext : Java.Lang.Object -> unit
Parameters
- item
- Object
the item
- Attributes
Remarks
Method invoked with a Subscription's next item. If this method throws an exception, resulting behavior is not guaranteed, but may cause the Subscription to be cancelled.
Java documentation for java.util.concurrent.Flow.Subscriber.onNext(T)
.
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.