Language

ControlsProviderService.CreatePublisherFor(IList<String>) Method

Definition

Return a valid Publisher for the given controlIds.

[Android.Runtime.Register("createPublisherFor", "(Ljava/util/List;)Ljava/util/concurrent/Flow$Publisher;", "GetCreatePublisherFor_Ljava_util_List_Handler", ApiSince=30)]
public abstract Java.Util.Concurrent.Flow.IPublisher CreatePublisherFor(System.Collections.Generic.IList<string> controlIds);
[<Android.Runtime.Register("createPublisherFor", "(Ljava/util/List;)Ljava/util/concurrent/Flow$Publisher;", "GetCreatePublisherFor_Ljava_util_List_Handler", ApiSince=30)>]
abstract member CreatePublisherFor : System.Collections.Generic.IList<string> -> Java.Util.Concurrent.Flow.IPublisher

Parameters

controlIds
IList<String>

The identifiers of the controls whose current state and later updates are requested.

Returns

A publisher of controls built with Control.StatefulBuilder. Respect subscription demand and continue updates until the subscription is canceled, rather than completing after the first update.

Attributes

Remarks

Java documentation for android.service.controls.ControlsProviderService.createPublisherFor(java.util.List).

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