Share via


WorkSource.Set(WorkSource) Method

Definition

Replace the current contents of this work source with the given work source.

[Android.Runtime.Register("set", "(Landroid/os/WorkSource;)V", "GetSet_Landroid_os_WorkSource_Handler")]
public virtual void Set (Android.OS.WorkSource? other);
[<Android.Runtime.Register("set", "(Landroid/os/WorkSource;)V", "GetSet_Landroid_os_WorkSource_Handler")>]
abstract member Set : Android.OS.WorkSource -> unit
override this.Set : Android.OS.WorkSource -> unit

Parameters

other
WorkSource
Attributes

Remarks

Replace the current contents of this work source with the given work source. If other is null, the current work source will be made empty.

Java documentation for android.os.WorkSource.set(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