Binder.SetCallingWorkSourceUid(Int32) Method

Definition

Sets the work source for this thread.

[Android.Runtime.Register("setCallingWorkSourceUid", "(I)J", "", ApiSince=29)]
public static long SetCallingWorkSourceUid (int workSource);
[<Android.Runtime.Register("setCallingWorkSourceUid", "(I)J", "", ApiSince=29)>]
static member SetCallingWorkSourceUid : int -> int64

Parameters

workSource
Int32

The original UID responsible for the binder call.

Returns

Int64

token to restore original work source.

Attributes

Remarks

Java documentation for android.os.Binder.setCallingWorkSourceUid(int).

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