ApiSurface

@Retention(value = AnnotationRetention.SOURCE)
@IntDef(value = [0, 1, 2, 3, 4])
@Target(allowedTargets = [AnnotationTarget.TYPE])
public annotation ApiSurface


Specifies an API surface a call is being made from.

Summary

Constants

static final int

The API surface associated with DtdiClient.sendPayload and DtdiClient.registerPayloadReceiver.

static final int

The API surface associated with DtdiClient.createDevicePickerIntent.

static final int

The API surface associated with the higher level Sessions APIs.

static final int

The API surface was not requested or cannot be determined.

static final int

The API surface associated with waking up an application on the remote device.

Public constructors

Constants

CONNECTIONS

public static final int CONNECTIONS = 2

The API surface associated with DtdiClient.sendPayload and DtdiClient.registerPayloadReceiver.

DISCOVERY

public static final int DISCOVERY = 1

The API surface associated with DtdiClient.createDevicePickerIntent.

SESSIONS

public static final int SESSIONS = 3

The API surface associated with the higher level Sessions APIs.

UNKNOWN

public static final int UNKNOWN = 0

The API surface was not requested or cannot be determined.

WAKE_UP

public static final int WAKE_UP = 4

The API surface associated with waking up an application on the remote device.

Public constructors

ApiSurface

public ApiSurface()