WorkSource.Add(WorkSource) Method

Definition

Merge the contents of <var>other</var> WorkSource in to this one.

[Android.Runtime.Register("add", "(Landroid/os/WorkSource;)Z", "GetAdd_Landroid_os_WorkSource_Handler")]
public virtual bool Add (Android.OS.WorkSource? other);
[<Android.Runtime.Register("add", "(Landroid/os/WorkSource;)Z", "GetAdd_Landroid_os_WorkSource_Handler")>]
abstract member Add : Android.OS.WorkSource -> bool
override this.Add : Android.OS.WorkSource -> bool

Parameters

other
WorkSource

The other WorkSource whose contents are to be merged.

Returns

Returns true if any new sources were added.

Attributes

Remarks

Merge the contents of <var>other</var> WorkSource in to this one.

Java documentation for android.os.WorkSource.add(android.os.WorkSource).

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