Payload.Type
Stay organized with collections
Save and categorize content based on your preferences.
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
From interface java.lang.annotation.Annotation
abstract Class<? extends Annotation>
|
annotationType()
|
abstract boolean |
|
abstract int |
hashCode()
|
abstract String
|
toString()
|
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
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-06-08 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]