Google is committed to advancing racial equity for Black communities. See how.

Payload.Type

public static abstract @interface Payload.Type implements Annotation

The type of this payload.

Constant Summary

int BYTES A Payload consisting of a single byte array.
int FILE A Payload representing a file on the device.
int STREAM A Payload representing a real-time stream of data; e.g.

Inherited Method Summary

Constants

public static final int BYTES

A Payload consisting of a single byte array.

Constant Value: 1

public static final int FILE

A Payload representing a file on the device.

Constant Value: 2

public static final int STREAM

A Payload representing a real-time stream of data; e.g. generated data for which the total size is not known ahead of time.

Constant Value: 3