Android Guides | Samples

Android.OS.WorkSource Class

Describes the source of some work that may be done by someone else.

See Also: WorkSource

Syntax

[Android.Runtime.Register("android/os/WorkSource", DoNotGenerateAcw=true)]
public class WorkSource : Object, IParcelable, IDisposable

Remarks

Describes the source of some work that may be done by someone else. Currently the public representation of what a work source is is not defined; this is an opaque container.

[Android Documentation]

Requirements

Namespace: Android.OS
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 9

The members of Android.OS.WorkSource are listed below.

See Also: Object

Public Constructors

Create an empty work source.
Create a new WorkSource that is a copy of an existing one.

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Properties

[read-only]
static
CreatorIParcelableCreator.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

Add(WorkSource) : Boolean
Merge the contents of other WorkSource in to this one.
Clear()
Clear this WorkSource to be empty.
DescribeContents() : Int32
Describe the kinds of special objects contained in this Parcelable's marshalled representation.
Diff(WorkSource) : Boolean
Compare this WorkSource with another.
Remove(WorkSource) : Boolean
Set(WorkSource)
Replace the current contents of this work source with the given work source.
WriteToParcel(Parcel, ParcelableWriteFlags)
Flatten this object in to a Parcel.