public final class

MAMIdentityExecutors

extends Object
java.lang.Object
   ↳ com.microsoft.intune.mam.client.identity.MAMIdentityExecutors

Class Overview

Wrap executors to automatically copy a MAM identity to any started tasks.

Summary

Public Methods
static Executor wrapExecutor(Executor executor, Context context)
Wrap an Executor to copy the MAM identity.
static Executor wrapExecutor(Executor executor)
Wrap an Executor to copy the MAM identity.
static ExecutorService wrapExecutorService(ExecutorService executorService)
Wrap an ExecutorService to copy the MAM identity.
static ExecutorService wrapExecutorService(ExecutorService executorService, Context context)
Wrap an ExecutorService to copy the MAM identity.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public static Executor wrapExecutor (Executor executor, Context context)

Wrap an Executor to copy the MAM identity.

Parameters
executor Object to wrap.
context Current Context.
Returns
  • New object that wraps executor.

public static Executor wrapExecutor (Executor executor)

Wrap an Executor to copy the MAM identity.

Parameters
executor Object to wrap.
Returns
  • New object that wraps executor.

public static ExecutorService wrapExecutorService (ExecutorService executorService)

Wrap an ExecutorService to copy the MAM identity.

Parameters
executorService Object to wrap.
Returns
  • New object that wraps executorService.

public static ExecutorService wrapExecutorService (ExecutorService executorService, Context context)

Wrap an ExecutorService to copy the MAM identity.

Parameters
executorService Object to wrap.
context Current Context.
Returns
  • New object that wraps executorService.