Skip navigation links
Android Messaging API Reference for Oracle Internet of Things Cloud Service Client Software Library. Release 21.1.1.0.0-3 E70342-25
A B C D E F G H I L M N P R S T U V 

A

add(Resource) - Method in class com.oracle.iot.client.message.ResourceMessage.Builder
Add a resource in the list
addValue(String, String) - Method in class com.oracle.iot.client.message.MessageProperties.Builder
Add a new key/vale pair.
addValues(String, List<String>) - Method in class com.oracle.iot.client.message.MessageProperties.Builder
Add a new key/values pair.
AlertMessage - Class in com.oracle.iot.client.message
AlertMessage extends Message class.
AlertMessage.Builder - Class in com.oracle.iot.client.message
AlertMessage.Severity - Enum in com.oracle.iot.client.message
The Severity of this Alert
alias() - Method in enum com.oracle.iot.client.message.Message.Type
 
Argument() - Constructor for class com.oracle.iot.client.DeviceModelAction.Argument
 

B

body(byte[]) - Method in class com.oracle.iot.client.message.RequestMessage.Builder
Set message body.
body(String) - Method in class com.oracle.iot.client.message.RequestMessage.Builder
Set message body using a String.
body(byte[]) - Method in class com.oracle.iot.client.message.ResponseMessage.Builder
Set message body.
body(String) - Method in class com.oracle.iot.client.message.ResponseMessage.Builder
Set message body using a String.
build() - Method in class com.oracle.iot.client.message.AlertMessage.Builder
Creates new instance of AlertMessage using values from AlertMessage.Builder.
build() - Method in class com.oracle.iot.client.message.DataMessage.Builder
Creates new instance of DataMessage using values from DataMessage.Builder.
build() - Method in class com.oracle.iot.client.message.Message.MessageBuilder
Abstract build method
build() - Method in class com.oracle.iot.client.message.MessageProperties.Builder
Creates new instance of MessageProperties using values from MessageProperties.Builder.
build() - Method in class com.oracle.iot.client.message.RequestMessage.Builder
Creates new instance of RequestMessage using values from RequestMessage.Builder.
build() - Method in class com.oracle.iot.client.message.Resource.Builder
Builds (creates) new instance of Resource.
build() - Method in class com.oracle.iot.client.message.ResourceMessage.Builder
Creates new instance of ResourceMessage using values from ResourceMessage.Builder.
build() - Method in class com.oracle.iot.client.message.ResourceMessage.ReportResponse.Builder
 
build() - Method in class com.oracle.iot.client.message.ResponseMessage.Builder
Creates new instance of ResponseMessage using values from ResponseMessage.Builder.
Builder() - Constructor for class com.oracle.iot.client.message.AlertMessage.Builder
 
Builder() - Constructor for class com.oracle.iot.client.message.DataMessage.Builder
 
Builder() - Constructor for class com.oracle.iot.client.message.MessageProperties.Builder
 
Builder() - Constructor for class com.oracle.iot.client.message.RequestMessage.Builder
 
Builder() - Constructor for class com.oracle.iot.client.message.Resource.Builder
Constructor - does nothing.
Builder() - Constructor for class com.oracle.iot.client.message.ResourceMessage.Builder
 
Builder() - Constructor for class com.oracle.iot.client.message.ResourceMessage.ReportResponse.Builder
Constructor - does nothing.
Builder() - Constructor for class com.oracle.iot.client.message.ResponseMessage.Builder
 
Builder(RequestMessage) - Constructor for class com.oracle.iot.client.message.ResponseMessage.Builder
 

C

clientId(String) - Method in class com.oracle.iot.client.message.Message.MessageBuilder
Sets message client ID.
com.oracle.iot.client - package com.oracle.iot.client
 
com.oracle.iot.client.message - package com.oracle.iot.client.message
Defines messages that can be exchanged between Server and Client and vice versa.
com.oracle.iot.client.trust - package com.oracle.iot.client.trust
API for handling trust material used for activation and authentication to the Oracle IoT Cloud Service.
containsKey(String) - Method in class com.oracle.iot.client.message.MessageProperties
Check if the properties contain the key.
contentType(String) - Method in class com.oracle.iot.client.message.ResponseMessage.Builder
A convenience method for setting the "Content-Type" header to the specified value.
copy(MessageProperties) - Method in class com.oracle.iot.client.message.MessageProperties.Builder
Copy another MessageProperties by adding all properties to the current MessageProperties
createBuilderFromJson(byte[]) - Static method in class com.oracle.iot.client.message.Message
Convert a byte array to a List of Message.MessageBuilders.
createValue(String) - Static method in enum com.oracle.iot.client.message.Resource.Method
Returns the Method value for the String
createValue(int) - Static method in enum com.oracle.iot.client.message.Resource.Method
Returns a list of the Method values for the bit string

D

dataItem(String, double) - Method in class com.oracle.iot.client.message.AlertMessage.Builder
Add double DataItem.
dataItem(String, boolean) - Method in class com.oracle.iot.client.message.AlertMessage.Builder
Add boolean DataItem.
dataItem(String, String) - Method in class com.oracle.iot.client.message.AlertMessage.Builder
Add String DataItem.
DataItem<T> - Class in com.oracle.iot.client.message
DataItem is a key/value/type triplet for data in DataMessage along with the type of the data.
DataItem(String, double) - Constructor for class com.oracle.iot.client.message.DataItem
Constructor that takes String key and double value.
DataItem(String, boolean) - Constructor for class com.oracle.iot.client.message.DataItem
Constructor that takes String key and boolean value.
DataItem(String, String) - Constructor for class com.oracle.iot.client.message.DataItem
Constructor that takes String key and String value.
dataItem(String, double) - Method in class com.oracle.iot.client.message.DataMessage.Builder
Add double DataItem.
dataItem(String, boolean) - Method in class com.oracle.iot.client.message.DataMessage.Builder
Add boolean DataItem.
dataItem(String, String) - Method in class com.oracle.iot.client.message.DataMessage.Builder
Add String DataItem.
DataItem.Type - Enum in com.oracle.iot.client.message
The data type of the data item.
dataItems(Collection<DataItem<?>>) - Method in class com.oracle.iot.client.message.AlertMessage.Builder
Add all DataItems to existing ones.
dataItems(Collection<DataItem<?>>) - Method in class com.oracle.iot.client.message.DataMessage.Builder
Add all DataItems to existing ones.
DataMessage - Class in com.oracle.iot.client.message
DataMessage extends Message class.
DataMessage.Builder - Class in com.oracle.iot.client.message
delete() - Method in class com.oracle.iot.client.message.ResourceMessage.Builder
Set the type of the ResourceMessage to register.
description(String) - Method in class com.oracle.iot.client.message.AlertMessage.Builder
Set the description for the alert
destination(String) - Method in class com.oracle.iot.client.message.Message.MessageBuilder
Set message destination.
DeviceModelAction - Class in com.oracle.iot.client
DeviceModelAction is the model of an action in a DeviceModel.
DeviceModelAction() - Constructor for class com.oracle.iot.client.DeviceModelAction
 
DeviceModelAction.Argument - Class in com.oracle.iot.client
 
DeviceModelAttribute<T> - Class in com.oracle.iot.client
DeviceModelAttribute is the model of an attribute in a DeviceModel.
DeviceModelAttribute() - Constructor for class com.oracle.iot.client.DeviceModelAttribute
 
DeviceModelAttribute.Access - Enum in com.oracle.iot.client
Access rules for an attribute.
DeviceModelAttribute.Type - Enum in com.oracle.iot.client
An enumeration of the data types an attribute may contain.
DeviceModelFormat - Class in com.oracle.iot.client
DeviceModelFormat is the model of an message in a DeviceModel.
DeviceModelFormat() - Constructor for class com.oracle.iot.client.DeviceModelFormat
 
DeviceModelFormat.Field - Interface in com.oracle.iot.client
Describes a field of a message.
DeviceModelFormat.Type - Enum in com.oracle.iot.client
The message type.
DIAG_CLIENT_ADDRESS - Static variable in class com.oracle.iot.client.message.Message
Client address diagnostic value.
DIAG_CREATED_TIME - Static variable in class com.oracle.iot.client.message.Message
Created time of the message diagnostic value.
diagnostic(String, Object) - Method in class com.oracle.iot.client.message.Message.MessageBuilder
Set a diagnostic Object value
direction(Message.Direction) - Method in class com.oracle.iot.client.message.Message.MessageBuilder
Set message direction.
DISABLE_LONG_POLLING_PROPERTY - Static variable in interface com.oracle.iot.client.trust.TrustedAssetsManager
 

E

endpointName(String) - Method in class com.oracle.iot.client.message.Resource.Builder
Sets the name or ID of the resource's endpoint.
endpointName(String) - Method in class com.oracle.iot.client.message.ResourceMessage.Builder
Set the endpointName this message is for.
endpointName(String) - Method in class com.oracle.iot.client.message.ResourceMessage.ReportResponse.Builder
Sets the name or ID of the resource's endpoint.
equals(Object) - Method in class com.oracle.iot.client.message.AlertMessage
equals(Object) - Method in class com.oracle.iot.client.message.DataItem
equals(Object) - Method in class com.oracle.iot.client.message.DataMessage
equals(Object) - Method in class com.oracle.iot.client.message.Message
equals(Object) - Method in class com.oracle.iot.client.message.MessageProperties
equals(Object) - Method in class com.oracle.iot.client.message.RequestMessage
equals(Object) - Method in class com.oracle.iot.client.message.Resource
equals(Object) - Method in class com.oracle.iot.client.message.ResourceMessage
equals(Object) - Method in class com.oracle.iot.client.message.ResponseMessage
eventTime(Long) - Method in class com.oracle.iot.client.message.Message.MessageBuilder
Set message creation time.
eventTime(long) - Method in class com.oracle.iot.client.message.Message.MessageBuilder
Set message creation time.

F

format(String) - Method in class com.oracle.iot.client.message.AlertMessage.Builder
Set message format.
format(String) - Method in class com.oracle.iot.client.message.DataMessage.Builder
Set message format.
fromJson(JSONObject) - Method in class com.oracle.iot.client.message.AlertMessage.Builder
 
fromJson(JSONObject) - Method in class com.oracle.iot.client.message.DataMessage.Builder
 
fromJson(byte[]) - Static method in class com.oracle.iot.client.message.Message
Convert a byte array to a List of Messages.
fromJson(String) - Static method in class com.oracle.iot.client.message.Message
Convert a json string to a List of Messages.
fromJson(Object) - Static method in class com.oracle.iot.client.message.Message
Convert a JSONArray or JSONObject to a List of Messages.
fromJson(JSONObject) - Method in class com.oracle.iot.client.message.Message.MessageBuilder
Method to deserialization of the Message from a JsonObject.
fromJson(JSONObject) - Method in class com.oracle.iot.client.message.RequestMessage.Builder
 
fromJson(JSONObject) - Method in class com.oracle.iot.client.message.Resource.Builder
 
fromJson(JSONObject) - Method in class com.oracle.iot.client.message.ResourceMessage.Builder
 
fromJson(JSONObject) - Method in class com.oracle.iot.client.message.ResourceMessage.ReportResponse.Builder
 
fromJson(JSONObject) - Method in class com.oracle.iot.client.message.ResponseMessage.Builder
 
fromString(String) - Method in enum com.oracle.iot.client.DeviceModelAttribute.Type
 
fromString(String) - Method in class com.oracle.iot.client.message.ResourceMessage.ReportResponse.Builder
 

G

generateKeyPair(String, int) - Method in interface com.oracle.iot.client.trust.TrustedAssetsManager
Generates the key pair to be used for assertion-based client authentication with the IoT CS.
getAccess() - Method in class com.oracle.iot.client.DeviceModelAttribute
Return the access rules for the attribute.
getAlias() - Method in class com.oracle.iot.client.DeviceModelAction
getAlias() - Method in class com.oracle.iot.client.DeviceModelAttribute
getAllProperties() - Method in class com.oracle.iot.client.message.MessageProperties
Get all properties.
getArgType() - Method in class com.oracle.iot.client.DeviceModelAction.Argument
The data type of the argument to the action.
getArguments() - Method in class com.oracle.iot.client.DeviceModelAction
The data type of the argument to the action.
getBitMask(List<Resource.Method>) - Static method in enum com.oracle.iot.client.message.Resource.Method
Returns a bit mask for a list of the Method values
getBody() - Method in class com.oracle.iot.client.message.RequestMessage
Get HTTP request message body.
getBody() - Method in class com.oracle.iot.client.message.ResponseMessage
Get HTTP response message body.
getBodyString() - Method in class com.oracle.iot.client.message.RequestMessage
Get HTTP request message body in String.
getBodyString() - Method in class com.oracle.iot.client.message.ResponseMessage
Get HTTP response message body in String.
getClientId() - Method in class com.oracle.iot.client.message.Message
Get client's unique ID for a message.
getClientId() - Method in interface com.oracle.iot.client.trust.TrustedAssetsManager
Retrieves the ID of this client.
getCode() - Method in enum com.oracle.iot.client.message.StatusCode
Returns HTTP status code.
getDataItems() - Method in class com.oracle.iot.client.message.AlertMessage
Get message payload as List of DataItems.
getDataItems() - Method in class com.oracle.iot.client.message.DataMessage
Get message payload as List of DataItems.
getDefaultValue() - Method in class com.oracle.iot.client.DeviceModelAction.Argument
Get the default value of the argument as defined by the device model.
getDefaultValue() - Method in class com.oracle.iot.client.DeviceModelAttribute
Get the default value of the attribute as defined by the device model.
getDescription() - Method in class com.oracle.iot.client.DeviceModelAction
A human friendly description of the action.
getDescription() - Method in class com.oracle.iot.client.DeviceModelAttribute
A human friendly description of the attribute.
getDescription() - Method in class com.oracle.iot.client.DeviceModelFormat
A human friendly description of the message format.
getDescription() - Method in class com.oracle.iot.client.message.AlertMessage
Gets the description for this alert.
getDescription() - Method in enum com.oracle.iot.client.message.StatusCode
Returns text description of HTTP status.
getDestination() - Method in class com.oracle.iot.client.message.Message
Get message destination (Endpoint Id to which the message is originated).
getDiagnostics() - Method in class com.oracle.iot.client.message.Message
Get message diagnostics
getDiagnosticValue(String) - Method in class com.oracle.iot.client.message.Message
 
getDirection() - Method in class com.oracle.iot.client.message.Message
Get message direction.
getEncryptedSharedSecret() - Method in interface com.oracle.iot.client.trust.TrustedAssetsManager
Deprecated.
This method is not called by the client library
getEndpointCertificate() - Method in interface com.oracle.iot.client.trust.TrustedAssetsManager
Retrieves the assigned endpoint certificate.
getEndpointId() - Method in interface com.oracle.iot.client.trust.TrustedAssetsManager
Retrieves the assigned endpoint ID.
getEndpointName() - Method in class com.oracle.iot.client.message.Resource
 
getEndpointName() - Method in class com.oracle.iot.client.message.ResourceMessage
Returns endpoint id for the message
getEndpointName() - Method in class com.oracle.iot.client.message.ResourceMessage.ReportResponse
 
getErrorCode() - Method in exception com.oracle.iot.client.message.MessageParsingException
Method returns code for the current error.
getEventTime() - Method in class com.oracle.iot.client.message.Message
Get event time of the message
getFields() - Method in class com.oracle.iot.client.DeviceModelFormat
Get the format of fields.
getFormat() - Method in class com.oracle.iot.client.message.AlertMessage
Get the name of the format for data.
getFormat() - Method in class com.oracle.iot.client.message.DataMessage
Get the name of the format for data.
getHeaders() - Method in class com.oracle.iot.client.message.RequestMessage
Get Http request message headers.
getHeaders() - Method in class com.oracle.iot.client.message.ResponseMessage
Get Http response message headers.
getHeaderValue(String, int) - Method in class com.oracle.iot.client.message.RequestMessage
Get request message header value at given index.
getHeaderValue(String) - Method in class com.oracle.iot.client.message.RequestMessage
Get first value from request message header.
getHeaderValue(String, int) - Method in class com.oracle.iot.client.message.ResponseMessage
Get response message header value at given index.
getHeaderValue(String) - Method in class com.oracle.iot.client.message.ResponseMessage
Get first value from response message header.
getHeaderValues(String) - Method in class com.oracle.iot.client.message.RequestMessage
Get Http request message header values for given header name.
getHeaderValues(String) - Method in class com.oracle.iot.client.message.ResponseMessage
Get Http response message header values for given header name.
getId() - Method in class com.oracle.iot.client.message.Message
Get unique ID for a message.
getKey() - Method in class com.oracle.iot.client.message.DataItem
Get data item key.
getKeys() - Method in class com.oracle.iot.client.message.MessageProperties
Get a Set of the keys.
getLowerBound() - Method in class com.oracle.iot.client.DeviceModelAction.Argument
For DeviceModelAttribute.Type.NUMBER and DeviceModelAttribute.Type.INTEGER only, give the lower bound of the acceptable range of values for the action's argument.
getLowerBound() - Method in class com.oracle.iot.client.DeviceModelAttribute
For DeviceModelAttribute.Type.NUMBER only, give the lower bound of the acceptable range of values.
getMD5ofList(List<String>) - Static method in class com.oracle.iot.client.message.ResourceMessage
Calculates the MD5 hash value for a list of Strings.
getMessageType() - Method in class com.oracle.iot.client.message.ResourceMessage
Returns type of the message (Could be UPDATE or DELETE)
getMethod() - Method in class com.oracle.iot.client.message.RequestMessage
Get request message method.
getMethods() - Method in class com.oracle.iot.client.message.Resource
 
getModel() - Method in class com.oracle.iot.client.DeviceModelAttribute
Get the URN of the device type model this attribute comes from.
getName() - Method in class com.oracle.iot.client.DeviceModelAction.Argument
Get the argument name.
getName() - Method in class com.oracle.iot.client.DeviceModelAction
Get the action name.
getName() - Method in class com.oracle.iot.client.DeviceModelAttribute
Get the attribute name.
getName() - Method in interface com.oracle.iot.client.DeviceModelFormat.Field
Get the message format name.
getName() - Method in class com.oracle.iot.client.DeviceModelFormat
Get the message format name.
getName() - Method in class com.oracle.iot.client.message.Resource
 
getOrdinal() - Method in class com.oracle.iot.client.message.Message
Get the order in which this message was created.
getParam(String) - Method in class com.oracle.iot.client.message.RequestMessage
Get parameter value for given parameter name.
getParams() - Method in class com.oracle.iot.client.message.RequestMessage
Get Http request message parameters.
getPath() - Method in class com.oracle.iot.client.message.Resource
 
getPriority() - Method in class com.oracle.iot.client.message.Message
Get message priority.
getProperties() - Method in class com.oracle.iot.client.message.Message
Get message properties.
getProperties(String) - Method in class com.oracle.iot.client.message.MessageProperties
Get a List of values for a particular key.
getProperty(String) - Method in class com.oracle.iot.client.message.MessageProperties
Get the first value for a particular key.
getProperty(String, int) - Method in class com.oracle.iot.client.message.MessageProperties
Get a specific value.
getPublicKey() - Method in interface com.oracle.iot.client.trust.TrustedAssetsManager
Retrieves the public key to be used for certificate request.
getReceivedTime() - Method in class com.oracle.iot.client.message.Message
Get message received time.
getReconciliationMark() - Method in class com.oracle.iot.client.message.ResourceMessage
 
getReliability() - Method in class com.oracle.iot.client.message.Message
Get message reliability
getRemainingRetries() - Method in class com.oracle.iot.client.message.Message
Not intended for general use.
getRequestId() - Method in class com.oracle.iot.client.message.ResponseMessage
Get ID of RequestMessage.
getResources() - Method in class com.oracle.iot.client.message.ResourceMessage
Returns List of resources described in the message.
getSender() - Method in class com.oracle.iot.client.message.Message
Get message sender (Endpoint Id from which the message is sent from).
getSentTime() - Method in class com.oracle.iot.client.message.Message
Get message sent time.
getServerHost() - Method in interface com.oracle.iot.client.trust.TrustedAssetsManager
Retrieves the IoT CS server host name.
getServerPort() - Method in interface com.oracle.iot.client.trust.TrustedAssetsManager
Retrieves the IoT CS server port.
getServerScheme() - Method in interface com.oracle.iot.client.trust.TrustedAssetsManager
Retrieves the protocol scheme that should be used to talk to the IoT CS.
getSeverity() - Method in class com.oracle.iot.client.message.AlertMessage
Gets the severity of this alert
getSource() - Method in class com.oracle.iot.client.message.Message
Get message source (Endpoint Id from which the message is originated).
getStatus() - Method in class com.oracle.iot.client.message.Resource
 
getStatus() - Method in class com.oracle.iot.client.message.ResourceMessage.ReportResponse
 
getStatusCode() - Method in class com.oracle.iot.client.message.ResponseMessage
Get Http response message status code.
getTrustAnchorCertificates() - Method in interface com.oracle.iot.client.trust.TrustedAssetsManager
Retrieves the trust anchor or most-trusted Certification Authority (CA) certificates to be used to validate the IoT CS server certificate chain.
getTrustedAssetsManager(Object) - Static method in class com.oracle.iot.client.trust.TrustedAssetsManager.Factory
Loads and instantiates a custom or the default TrustedAssetsManager.
getTrustedAssetsManager(String, String, Object) - Static method in class com.oracle.iot.client.trust.TrustedAssetsManager.Factory
Loads and instantiates a custom or the default TrustedAssetsManager.
getType() - Method in class com.oracle.iot.client.DeviceModelAttribute
The data type of the attribute.
getType() - Method in interface com.oracle.iot.client.DeviceModelFormat.Field
The JSON type message.
getType() - Method in class com.oracle.iot.client.DeviceModelFormat
The type of the message.
getType() - Method in class com.oracle.iot.client.message.AlertMessage
 
getType() - Method in class com.oracle.iot.client.message.DataItem
Get data item type.
getType() - Method in class com.oracle.iot.client.message.DataMessage
Get type message type.
getType() - Method in class com.oracle.iot.client.message.Message
Abstract method to return message type.
getType() - Method in class com.oracle.iot.client.message.RequestMessage
Get message type.
getType() - Method in class com.oracle.iot.client.message.ResourceMessage
 
getType() - Method in class com.oracle.iot.client.message.ResponseMessage
Get message type.
getUpperBound() - Method in class com.oracle.iot.client.DeviceModelAction.Argument
For DeviceModelAttribute.Type.NUMBER and DeviceModelAttribute.Type.INTEGER only, give the upper bound of the acceptable range of values for the action's argument.
getUpperBound() - Method in class com.oracle.iot.client.DeviceModelAttribute
For DeviceModelAttribute.Type.NUMBER only, give the upper bound of the acceptable range of values.
getURL() - Method in class com.oracle.iot.client.message.RequestMessage
Get request message URL.
getURL() - Method in class com.oracle.iot.client.message.ResponseMessage
Get request message URL.
getURN() - Method in class com.oracle.iot.client.DeviceModelFormat
Get the URN of the message format
getValue() - Method in enum com.oracle.iot.client.message.AlertMessage.Severity
Returns severity as int value.
getValue() - Method in class com.oracle.iot.client.message.DataItem
Get data item value.
getValue() - Method in enum com.oracle.iot.client.message.DataItem.Type
Returns name of the enum value as String
getValue() - Method in enum com.oracle.iot.client.message.Message.Priority
Returns priority as int value.
getValue() - Method in enum com.oracle.iot.client.message.Message.Reliability
Returns reliability as int value.

H

hashCode() - Method in class com.oracle.iot.client.message.AlertMessage
hashCode() - Method in class com.oracle.iot.client.message.DataItem
hashCode() - Method in class com.oracle.iot.client.message.DataMessage
hashCode() - Method in class com.oracle.iot.client.message.Message
hashCode() - Method in class com.oracle.iot.client.message.MessageProperties
hashCode() - Method in class com.oracle.iot.client.message.RequestMessage
hashCode() - Method in class com.oracle.iot.client.message.Resource
hashCode() - Method in class com.oracle.iot.client.message.ResourceMessage
hashCode() - Method in class com.oracle.iot.client.message.ResponseMessage
header(String, List<String>) - Method in class com.oracle.iot.client.message.RequestMessage.Builder
Add Http message header.
header(String, List<String>) - Method in class com.oracle.iot.client.message.ResponseMessage.Builder
Add message header.

I

id(String) - Method in class com.oracle.iot.client.message.Message.MessageBuilder
Sets message ID.
INVALID_MSG_TYPE - Static variable in exception com.oracle.iot.client.message.MessageParsingException
This code is assigned if the message type is not supported.
isActivated() - Method in interface com.oracle.iot.client.trust.TrustedAssetsManager
Returns whether the client is activated.
isOptional() - Method in interface com.oracle.iot.client.DeviceModelFormat.Field
If the field is optionalThe type message.

L

listToString(List<Resource.Method>) - Static method in enum com.oracle.iot.client.message.Resource.Method
Returns String for a list of the Method values

M

Message - Class in com.oracle.iot.client.message
An abstract class for different types of messages in messaging server.
Message.Direction - Enum in com.oracle.iot.client.message
The message direction with respect to the device.
Message.MessageBuilder<T extends Message.MessageBuilder<T>> - Class in com.oracle.iot.client.message
This is an abstract class for different message builders.
Message.Priority - Enum in com.oracle.iot.client.message
The priority of the message.
Message.Reliability - Enum in com.oracle.iot.client.message
Reliability of the message
Message.Type - Enum in com.oracle.iot.client.message
The message type.
MessageBuilder() - Constructor for class com.oracle.iot.client.message.Message.MessageBuilder
 
MessageParsingException - Exception in com.oracle.iot.client.message
MessageParsingException when an incorrect JSON interpretation of any Message is being parsed.
MessageParsingException(String) - Constructor for exception com.oracle.iot.client.message.MessageParsingException
Constructs a new runtime exception with the specified detail message.
MessageParsingException(Throwable) - Constructor for exception com.oracle.iot.client.message.MessageParsingException
Constructs a new runtime exception with the specified cause.
MessageParsingException(String, Throwable) - Constructor for exception com.oracle.iot.client.message.MessageParsingException
Constructs a new runtime exception with the specified detail message and cause.
MessageProperties - Class in com.oracle.iot.client.message
MessageProperties contains a table of key and list of values pairs for extra information to send.
MessageProperties.Builder - Class in com.oracle.iot.client.message
MessagePropertiesBuilder is the builder for MessageProperties.
method(String) - Method in class com.oracle.iot.client.message.RequestMessage.Builder
Set Http method.
method(Resource.Method) - Method in class com.oracle.iot.client.message.Resource.Builder
Sets the method value for the resource.
methods(List<Resource.Method>) - Method in class com.oracle.iot.client.message.Resource.Builder
Sets the method values for the resource.

N

name(String) - Method in class com.oracle.iot.client.message.Resource.Builder
Sets the name of the resource.

P

param(String, String) - Method in class com.oracle.iot.client.message.RequestMessage.Builder
Add Http parameter.
path(String) - Method in class com.oracle.iot.client.message.Resource.Builder
Sets the path of the resource.
prettyPrintJson(JSONObject) - Static method in class com.oracle.iot.client.message.Message
 
prettyPrintJson(JSONArray) - Static method in class com.oracle.iot.client.message.Message
 
prettyPrintJson(String) - Static method in class com.oracle.iot.client.message.Message
 
prettyPrintJson(byte[]) - Static method in class com.oracle.iot.client.message.Message
 
priority(Message.Priority) - Method in class com.oracle.iot.client.message.Message.MessageBuilder
Set message priority.
properties(MessageProperties) - Method in class com.oracle.iot.client.message.Message.MessageBuilder
Set message properties.

R

receivedTime(Long) - Method in class com.oracle.iot.client.message.Message.MessageBuilder
Set the time when the message was received by the server.
reconcile() - Method in class com.oracle.iot.client.message.ResourceMessage.Builder
Sets the message type to RECONCILIATION.
reconciliationMark(String) - Method in class com.oracle.iot.client.message.ResourceMessage.Builder
Set the reconciliation mark
register(Resource) - Method in class com.oracle.iot.client.message.ResourceMessage.Builder
Sets the type of the Resource to register and adds the resource in the list
reliability(Message.Reliability) - Method in class com.oracle.iot.client.message.Message.MessageBuilder
Sets reliability for message delivering.
remove(Resource) - Method in class com.oracle.iot.client.message.ResourceMessage.Builder
Set the type of the Resource to remove and adds the resource in the list
requestId(String) - Method in class com.oracle.iot.client.message.ResponseMessage.Builder
Sets the Id of RequestMessage for that this response was created.
RequestMessage - Class in com.oracle.iot.client.message
RequestMessage extends Message class.
RequestMessage.Builder - Class in com.oracle.iot.client.message
Builder extends Message.MessageBuilder class.
reset() - Method in interface com.oracle.iot.client.trust.TrustedAssetsManager
Resets the trust material back to its provisioning state; in particular, the key pair is erased.
Resource - Class in com.oracle.iot.client.message
This class represents a resource for an endpoint.
Resource.Builder - Class in com.oracle.iot.client.message
Resource class is immutable.
Resource.Method - Enum in com.oracle.iot.client.message
Method supported by a Resource
Resource.Status - Enum in com.oracle.iot.client.message
Enumeration for choosing status of the resource directory item.
ResourceMessage - Class in com.oracle.iot.client.message
ResourceMessage extends Message class.
ResourceMessage.Builder - Class in com.oracle.iot.client.message
Builder extends MessageBuilder class.
ResourceMessage.ReportResponse - Class in com.oracle.iot.client.message
 
ResourceMessage.ReportResponse.Builder - Class in com.oracle.iot.client.message
Resource class is immutable.
ResourceMessage.ReportResponse.ResponseStatus - Enum in com.oracle.iot.client.message
 
ResourceMessage.Type - Enum in com.oracle.iot.client.message
Enumeration for choosing type of the resource directory message.
resources(List<Resource>) - Method in class com.oracle.iot.client.message.ResourceMessage.Builder
Adds all resources.
ResponseMessage - Class in com.oracle.iot.client.message
ResponseMessage extends Message class.
ResponseMessage.Builder - Class in com.oracle.iot.client.message
Builder extends Message.MessageBuilder class.

S

self() - Method in class com.oracle.iot.client.message.AlertMessage.Builder
Returns current instance of AlertMessage.Builder.
self() - Method in class com.oracle.iot.client.message.DataMessage.Builder
Returns current instance of DataMessage.Builder.
self() - Method in class com.oracle.iot.client.message.Message.MessageBuilder
Return current instance of the Message.MessageBuilder.
self() - Method in class com.oracle.iot.client.message.RequestMessage.Builder
Returns current instance of RequestMessage.Builder.
self() - Method in class com.oracle.iot.client.message.ResourceMessage.Builder
Returns current instance of ResourceMessage.Builder.
self() - Method in class com.oracle.iot.client.message.ResponseMessage.Builder
Returns current instance of ResponseMessage.Builder.
sender(String) - Method in class com.oracle.iot.client.message.Message.MessageBuilder
Set message sender.
sentTime(Long) - Method in class com.oracle.iot.client.message.Message.MessageBuilder
Set the time when the message was sent by the server.
setEndPointCredentials(String, byte[]) - Method in interface com.oracle.iot.client.trust.TrustedAssetsManager
Sets the assigned endpoint ID and certificate as returned by the activation procedure.
setRemainingRetries(int) - Method in class com.oracle.iot.client.message.Message
Not intended for general use.
setStatus(Resource.Status) - Method in class com.oracle.iot.client.message.Resource
 
severity(AlertMessage.Severity) - Method in class com.oracle.iot.client.message.AlertMessage.Builder
Set alert severity
signWithPrivateKey(byte[], String) - Method in interface com.oracle.iot.client.trust.TrustedAssetsManager
Signs the provided data using the specified algorithm and the private key.
signWithSharedSecret(byte[], String, String) - Method in interface com.oracle.iot.client.trust.TrustedAssetsManager
Signs the provided data using the specified algorithm and the shared secret of the device indicated by the given hardware id.
source(String) - Method in class com.oracle.iot.client.message.Message.MessageBuilder
Set message source.
status(Resource.Status) - Method in class com.oracle.iot.client.message.Resource.Builder
Sets the status value for the resource.
status(ResourceMessage.ReportResponse.ResponseStatus) - Method in class com.oracle.iot.client.message.ResourceMessage.ReportResponse.Builder
 
statusCode(StatusCode) - Method in class com.oracle.iot.client.message.ResponseMessage.Builder
Set http response status code.
StatusCode - Enum in com.oracle.iot.client.message
Enum for handling HTTP status codes and tests.
stringToList(String) - Static method in enum com.oracle.iot.client.message.Resource.Method
Converts string of the method names into a list of the Method values.

T

TAM_CLASS_PROPERTY - Static variable in class com.oracle.iot.client.trust.TrustedAssetsManager.Factory
The system property name for configuring a custom TrustedAssetsManager implementation.
toJson() - Method in class com.oracle.iot.client.message.AlertMessage
 
toJson() - Method in class com.oracle.iot.client.message.DataMessage
Export DataMessage to JSONObject.
toJson() - Method in class com.oracle.iot.client.message.Message
Export the basic properties of the message to JSONObject.
toJson(List<? extends Message>) - Static method in class com.oracle.iot.client.message.Message
Convert a List of messages into a JSONArray.
toJson(List<Message>, boolean) - Static method in class com.oracle.iot.client.message.Message
Convert a List of Messages into a JSONArray.
toJson() - Method in class com.oracle.iot.client.message.MessageProperties
Method to export the message properties to JSONObject.
toJson() - Method in class com.oracle.iot.client.message.RequestMessage
Exports Http request message to JSONObject format.
toJson() - Method in class com.oracle.iot.client.message.Resource
 
toJson() - Method in class com.oracle.iot.client.message.ResourceMessage.ReportResponse
 
toJson() - Method in class com.oracle.iot.client.message.ResourceMessage
Method to export the Resource Directory message to JSONObject.
toJson() - Method in class com.oracle.iot.client.message.ResponseMessage
Exports response message to JSONObject.
toString() - Method in class com.oracle.iot.client.message.AlertMessage
Exports data from AlertMessage to String using JSON interpretation of the message.
toString() - Method in class com.oracle.iot.client.message.DataItem
 
toString() - Method in enum com.oracle.iot.client.message.DataItem.Type
Returns name of the enum value as String
toString() - Method in class com.oracle.iot.client.message.DataMessage
Exports data from DataMessage to String using JSON interpretation of the message.
toString() - Method in class com.oracle.iot.client.message.Message
Exports common data from Message to String using JSON interpretation of the message.
toString() - Method in class com.oracle.iot.client.message.MessageProperties
Method to print the message properties in JSON format.
toString() - Method in class com.oracle.iot.client.message.RequestMessage
Exports data from RequestMessage to String using JSON interpretation of the message.
toString() - Method in class com.oracle.iot.client.message.Resource
 
toString() - Method in class com.oracle.iot.client.message.ResourceMessage.ReportResponse
 
toString() - Method in class com.oracle.iot.client.message.ResourceMessage
Exports data from ResourceMessage to String using JSON interpretation of the message.
toString() - Method in class com.oracle.iot.client.message.ResponseMessage
Exports data from RequestMessage to String using JSON interpretation of the message.
toString() - Method in enum com.oracle.iot.client.message.StatusCode
Return information about StatusCode in format: Http (code) (description).
TrustedAssetsManager - Interface in com.oracle.iot.client.trust
The TrustedAssetsManager interface defines methods for handling trust material used for activation and authentication to the IoT CS.
TrustedAssetsManager.Factory - Class in com.oracle.iot.client.trust
 
TrustException - Exception in com.oracle.iot.client.trust
Thrown to indicate that a general exception occurred on a Trust Management operation.
TrustException(String) - Constructor for exception com.oracle.iot.client.trust.TrustException
Constructs a new TrustException instance with the specified detailed reason message.
TrustException(String, Throwable) - Constructor for exception com.oracle.iot.client.trust.TrustException
Constructs a new TrustException instance with the specified detailed reason message.

U

url(String) - Method in class com.oracle.iot.client.message.RequestMessage.Builder
Set message URL.
url(String) - Method in class com.oracle.iot.client.message.ResponseMessage.Builder
Set message URL.

V

value() - Method in enum com.oracle.iot.client.message.Resource.Method
 
valueOf(String) - Static method in enum com.oracle.iot.client.DeviceModelAttribute.Access
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.oracle.iot.client.DeviceModelAttribute.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.oracle.iot.client.DeviceModelFormat.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.oracle.iot.client.message.AlertMessage.Severity
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.oracle.iot.client.message.DataItem.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.oracle.iot.client.message.Message.Direction
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.oracle.iot.client.message.Message.Priority
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.oracle.iot.client.message.Message.Reliability
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.oracle.iot.client.message.Message.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.oracle.iot.client.message.Resource.Method
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.oracle.iot.client.message.Resource.Status
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.oracle.iot.client.message.ResourceMessage.ReportResponse.ResponseStatus
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.oracle.iot.client.message.ResourceMessage.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.oracle.iot.client.message.StatusCode
Returns the enum constant of this type with the specified name.
valueOf(int) - Static method in enum com.oracle.iot.client.message.StatusCode
Returns instance of StatusCode for given code.
values() - Static method in enum com.oracle.iot.client.DeviceModelAttribute.Access
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.oracle.iot.client.DeviceModelAttribute.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.oracle.iot.client.DeviceModelFormat.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.oracle.iot.client.message.AlertMessage.Severity
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.oracle.iot.client.message.DataItem.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.oracle.iot.client.message.Message.Direction
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.oracle.iot.client.message.Message.Priority
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.oracle.iot.client.message.Message.Reliability
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.oracle.iot.client.message.Message.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.oracle.iot.client.message.Resource.Method
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.oracle.iot.client.message.Resource.Status
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.oracle.iot.client.message.ResourceMessage.ReportResponse.ResponseStatus
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.oracle.iot.client.message.ResourceMessage.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.oracle.iot.client.message.StatusCode
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D E F G H I L M N P R S T U V 
Skip navigation links
Android Messaging API Reference for Oracle Internet of Things Cloud Service Client Software Library. Release 21.1.1.0.0-3 E70342-25

Copyright © 2015, 2017, Oracle. All rights reserved.