- generateSequenceID() - Method in class org.ocast.sdk.core.ReferenceDevice
-
Generates a message identifier.
- getAlt() - Method in class org.ocast.sdk.core.models.SendKeyEventCommandParams
-
Indicates if the
- getApplicationName() - Method in class org.ocast.sdk.core.Device
-
Returns the name of the web application to use.
- getAudioTracks() - Method in class org.ocast.sdk.core.models.MediaMetadata
-
The list of audio tracks of the media.
- getAutoplay() - Method in class org.ocast.sdk.core.models.PrepareMediaCommandParams
-
Indicates if the media should play automatically once the prepare command is complete.
- getAxes() - Method in class org.ocast.sdk.core.models.SendGamepadEventCommandParams
-
The axes of the gamepad.
- getBit() - Method in interface org.ocast.sdk.core.models.Bitflag
-
The index of the bit for this flag.
- getBit() - Method in enum org.ocast.sdk.core.models.SendGamepadEventCommandParams.Button
-
The index of the bit for this flag.
- getBit() - Method in enum org.ocast.sdk.core.models.SendMouseEventCommandParams.Button
-
The index of the bit for this flag.
- getButtons() - Method in class org.ocast.sdk.core.models.SendGamepadEventCommandParams
-
The combination of gamepad buttons pressed.
- getButtons() - Method in class org.ocast.sdk.core.models.SendMouseEventCommandParams
-
The combination of mouse buttons clicked.
- getCallbackWrapper() - Method in class org.ocast.sdk.core.Device
-
Returns the callback wrapper.
- getCallbackWrapper() - Method in class org.ocast.sdk.core.DeviceCenter
-
The callback wrapper.
- getCause() - Method in class org.ocast.sdk.core.models.OCastDeviceSettingsError
-
The cause of the error,
- getCause() - Method in class org.ocast.sdk.core.models.OCastError
-
The cause of the error,
- getCause() - Method in class org.ocast.sdk.core.models.OCastInputSettingsError
-
The cause of the error,
- getCause() - Method in class org.ocast.sdk.core.models.OCastMediaError
-
The cause of the error,
- getCause() - Method in interface org.ocast.sdk.core.utils.LoggableError
-
The cause of the error, if any.
- getClientUuid() - Method in class org.ocast.sdk.core.ReferenceDevice
-
An identifier which uniquely identifies the device when sending OCast messages.
- getCode() - Method in interface org.ocast.sdk.core.models.ErrorStatus
-
The status code.
- getCode() - Method in enum org.ocast.sdk.core.models.OCastDeviceSettingsError.Status
-
The status code.
- getCode() - Method in class org.ocast.sdk.core.models.OCastError
-
The error code.
- getCode() - Method in enum org.ocast.sdk.core.models.OCastError.Status
-
The status code.
- getCode() - Method in enum org.ocast.sdk.core.models.OCastInputSettingsError.Status
-
The status code.
- getCode() - Method in enum org.ocast.sdk.core.models.OCastMediaError.Status
-
The status code.
- getCode() - Method in class org.ocast.sdk.core.models.OCastReplyEventParams
-
The code associated with the data.
- getCode() - Method in class org.ocast.sdk.core.models.SendKeyEventCommandParams
-
A string that identifies the physical key being pressed.
- getConnectCallback() - Method in class org.ocast.sdk.core.ReferenceDevice
-
The callback executed when the device connect process is complete.
- getCtrl() - Method in class org.ocast.sdk.core.models.SendKeyEventCommandParams
-
Indicates if the
- getData() - Method in class org.ocast.sdk.core.models.OCastApplicationLayer
-
The data.
- getData() - Method in class org.ocast.sdk.core.models.OCastRawApplicationLayer
-
The raw data.
- getDestination() - Method in class org.ocast.sdk.core.models.OCastCommandDeviceLayer
-
The component to which the message is sent to.
- getDestination() - Method in class org.ocast.sdk.core.models.OCastRawDeviceLayer
-
The component to which the message is sent to.
- getDeviceFromRoute(routeInfo) - Method in class org.ocast.mediaroute.OCastMediaRouteHelper
-
- getDeviceID(onSuccess, onError) - Method in class org.ocast.sdk.core.Device
-
Retrieves the device identifier.
- getDeviceID(onSuccess, onError) - Method in class org.ocast.sdk.core.ReferenceDevice
-
- GetDeviceIDCommandParams - Class in org.ocast.sdk.core.models
-
Represents the parameters of a getDeviceID
command.
- GetDeviceIDCommandParams() - Constructor for class org.ocast.sdk.core.models.GetDeviceIDCommandParams
-
- getDeviceListener() - Method in class org.ocast.sdk.core.Device
-
Returns the device listener.
- getDevices() - Method in class org.ocast.mediaroute.OCastMediaRouteHelper
-
The discovered OCast devices.
- getDevices() - Method in class org.ocast.sdk.core.DeviceCenter
-
The list of detected OCast devices.
- getDialURL() - Method in class org.ocast.sdk.core.Device
-
Returns the URL of the DIAL service.
- getDialURL() - Method in class org.ocast.sdk.discovery.models.UpnpDevice
-
The URL of the DIAL service.
- getDisconnectCallback() - Method in class org.ocast.sdk.core.ReferenceDevice
-
The callback executed when the device disconnect process is complete.
- getDiscoveryInterval() - Method in class org.ocast.sdk.core.DeviceCenter
-
The interval to refresh the devices, in milliseconds.
- getDuration() - Method in class org.ocast.sdk.core.models.MediaPlaybackStatus
-
The media duration,
- getEventListener() - Method in class org.ocast.sdk.core.Device
-
Returns the event listener.
- getFriendlyName() - Method in class org.ocast.sdk.core.Device
-
Returns the friendly name of the device.
- getFriendlyName() - Method in class org.ocast.sdk.discovery.models.UpnpDevice
-
The friendly name of the device.
- getHost() - Method in class org.ocast.sdk.core.Device
-
Returns the device host.
- getHostnameVerifier() - Method in class org.ocast.sdk.core.models.SSLConfiguration
-
The hostname verifier.
- getId() - Method in class org.ocast.sdk.core.models.DeviceID
-
The device identifier.
- getId() - Method in class org.ocast.sdk.core.models.MediaMetadata.Track
-
The track identifier.
- getId() - Method in class org.ocast.sdk.discovery.models.UpnpDevice
-
The identifier of the device.
- getIdentifier() - Method in class org.ocast.sdk.core.models.OCastCommandDeviceLayer
-
The message identifier.
- getIdentifier() - Method in class org.ocast.sdk.core.models.OCastRawDeviceLayer
-
The message identifier.
- getKey() - Method in class org.ocast.sdk.core.models.SendKeyEventCommandParams
-
The key attribute value corresponding to the key pressed.
- getLabel() - Method in class org.ocast.sdk.core.models.MediaMetadata.Track
-
The track label.
- getLanguage() - Method in class org.ocast.sdk.core.models.MediaMetadata.Track
-
The track language.
- getLevel() - Method in class org.ocast.sdk.core.utils.OCastLog.Companion
-
The current OCast log level.
- getLevel() - Static method in class org.ocast.sdk.core.utils.OCastLog
-
The current OCast log level.
- getLocation() - Method in class org.ocast.sdk.core.models.SendKeyEventCommandParams
-
The location of the key on the keyboard.
- getLogo() - Method in class org.ocast.sdk.core.models.MediaMetadata
-
The media thumbnail.
- getLogo() - Method in class org.ocast.sdk.core.models.PrepareMediaCommandParams
-
The media thumbnail.
- getManufacturer() - Method in class org.ocast.sdk.core.Device
-
Returns the manufacturer of the device.
- getManufacturer() - Method in class org.ocast.sdk.core.ReferenceDevice
-
- getManufacturer() - Method in class org.ocast.sdk.discovery.models.UpnpDevice
-
The manufacturer of the device.
- getMediaMetadata(onSuccess, onError) - Method in class org.ocast.sdk.core.Device
-
Retrieves the metadata of the current media.
- getMediaMetadata(onSuccess, onError) - Method in class org.ocast.sdk.core.ReferenceDevice
-
- GetMediaMetadataCommandParams - Class in org.ocast.sdk.core.models
-
Represents the parameters of a getMetadata
command.
- GetMediaMetadataCommandParams() - Constructor for class org.ocast.sdk.core.models.GetMediaMetadataCommandParams
-
- getMediaPlaybackStatus(onSuccess, onError) - Method in class org.ocast.sdk.core.Device
-
Retrieves the playback status of the current media.
- getMediaPlaybackStatus(onSuccess, onError) - Method in class org.ocast.sdk.core.ReferenceDevice
-
- GetMediaPlaybackStatusCommandParams - Class in org.ocast.sdk.core.models
-
Represents the parameters of a getPlaybackStatus
command.
- GetMediaPlaybackStatusCommandParams() - Constructor for class org.ocast.sdk.core.models.GetMediaPlaybackStatusCommandParams
-
- getMediaRouteSelector() - Method in class org.ocast.mediaroute.OCastMediaRouteHelper
-
The OCast media route selector.
- getMediaType() - Method in class org.ocast.sdk.core.models.MediaMetadata
-
The media type.
- getMediaType() - Method in class org.ocast.sdk.core.models.PrepareMediaCommandParams
-
The media type.
- getMessage() - Method in class org.ocast.sdk.core.models.OCastCommandDeviceLayer
-
The message to send.
- getMessage() - Method in class org.ocast.sdk.core.models.OCastDeviceSettingsError
-
The error message.
- getMessage() - Method in class org.ocast.sdk.core.models.OCastError
-
The error message.
- getMessage() - Method in class org.ocast.sdk.core.models.OCastInputSettingsError
-
The error message.
- getMessage() - Method in class org.ocast.sdk.core.models.OCastMediaError
-
The error message.
- getMessage() - Method in class org.ocast.sdk.core.models.OCastRawDeviceLayer
-
The raw message to send.
- getMessage() - Method in interface org.ocast.sdk.core.utils.LoggableError
-
The error message, if any.
- getMeta() - Method in class org.ocast.sdk.core.models.SendKeyEventCommandParams
-
Indicates if the
- getModelName() - Method in class org.ocast.sdk.core.Device
-
Returns the model name of the device.
- getModelName() - Method in class org.ocast.sdk.discovery.models.UpnpDevice
-
The model name.
- getName() - Method in class org.ocast.sdk.core.models.OCastCommandParams
-
The name of the command.
- getName() - Method in class org.ocast.sdk.core.models.OCastDataLayer
-
The name of the data.
- getName() - Method in class org.ocast.sdk.core.models.OCastRawDataLayer
-
The name of the data.
- getOnError() - Method in class org.ocast.sdk.core.models.ConsumerCallback
-
The operation executed if the task failed.
- getOnError() - Method in class org.ocast.sdk.core.models.RunnableCallback
-
The operation executed if the task failed.
- getOnSuccess() - Method in class org.ocast.sdk.core.models.ConsumerCallback
-
The operation executed if the task succeeded.
- getOnSuccess() - Method in class org.ocast.sdk.core.models.RunnableCallback
-
The operation executed if the task succeeded.
- getOptions() - Method in class org.ocast.sdk.core.models.OCastDataLayer
-
The options associated with this data,
- getOptions() - Method in class org.ocast.sdk.core.models.OCastRawDataLayer
-
The options associated with this data,
- getParams() - Method in class org.ocast.sdk.core.models.OCastDataLayer
-
The data parameters.
- getParams() - Method in class org.ocast.sdk.core.models.OCastRawDataLayer
-
The raw data parameters.
- getPosition() - Method in class org.ocast.sdk.core.models.MediaPlaybackStatus
-
The media position,
- getPosition() - Method in class org.ocast.sdk.core.models.PlayMediaCommandParams
-
The starting position of the media,
- getPosition() - Method in class org.ocast.sdk.core.models.SeekMediaCommandParams
-
The media position,
- getProgress() - Method in class org.ocast.sdk.core.models.UpdateStatus
-
The download progress.
- getReplyCallbacksBySequenceID() - Method in class org.ocast.sdk.core.ReferenceDevice
-
A map of callbacks that will be executed when receiving reply messages, indexed by the identifier of their associated command message.
- getReplyClass() - Method in class org.ocast.sdk.core.models.ReplyCallback
-
The expected class of the reply data.
- getSearchTarget() - Method in class org.ocast.sdk.core.Device
-
Returns the SSDP search target.
- getSearchTarget() - Method in class org.ocast.sdk.core.ReferenceDevice
-
- getService() - Method in class org.ocast.sdk.core.models.OCastApplicationLayer
-
The identifier of the service associated to the data.
- getService() - Method in class org.ocast.sdk.core.models.OCastRawApplicationLayer
-
The identifier of the service associated to the data.
- getShift() - Method in class org.ocast.sdk.core.models.SendKeyEventCommandParams
-
Indicates if the
- getSocketFactory() - Method in class org.ocast.sdk.core.models.SSLConfiguration
-
The SSL socket factory.
- getSource() - Method in class org.ocast.sdk.core.models.OCastCommandDeviceLayer
-
The component which sends the message.
- getSource() - Method in class org.ocast.sdk.core.models.OCastRawDeviceLayer
-
The component which sends the message.
- getState() - Method in class org.ocast.sdk.core.Device
-
Returns the current state of the device.
- getState() - Method in class org.ocast.sdk.core.models.MediaPlaybackStatus
-
The playback state.
- getState() - Method in class org.ocast.sdk.core.models.UpdateStatus
-
The firmware update state.
- getState() - Method in class org.ocast.sdk.core.WebSocket
-
The current state of the web socket.
- getStatus() - Method in class org.ocast.sdk.core.models.OCastDeviceSettingsError
-
The error status.
- getStatus() - Method in class org.ocast.sdk.core.models.OCastInputSettingsError
-
The error status.
- getStatus() - Method in class org.ocast.sdk.core.models.OCastMediaError
-
The error status.
- getStatus() - Method in class org.ocast.sdk.core.models.OCastRawDeviceLayer
-
The device layer transport status.
- getStatus() - Method in class org.ocast.sdk.core.models.WebAppConnectedStatusEvent
-
The status of the web app.
- getStatusCode() - Method in exception org.ocast.sdk.common.models.HttpException
-
The HTTP status code.
- getSubtitle() - Method in class org.ocast.sdk.core.models.MediaMetadata
-
The media subtitle.
- getSubtitle() - Method in class org.ocast.sdk.core.models.PrepareMediaCommandParams
-
The media subtitle.
- getSubtitleTracks() - Method in class org.ocast.sdk.core.models.MediaMetadata
-
The list of subtitle tracks of the media.
- getTitle() - Method in class org.ocast.sdk.core.models.MediaMetadata
-
The media title.
- getTitle() - Method in class org.ocast.sdk.core.models.PrepareMediaCommandParams
-
The media title.
- getTrackID() - Method in class org.ocast.sdk.core.models.SetMediaTrackCommandParams
-
The track identifier.
- getTransferMode() - Method in class org.ocast.sdk.core.models.PrepareMediaCommandParams
-
The media transfer mode.
- getTrustManager() - Method in class org.ocast.sdk.core.models.SSLConfiguration
-
The trust manager.
- getType() - Method in class org.ocast.sdk.core.models.OCastCommandDeviceLayer
-
- getType() - Method in class org.ocast.sdk.core.models.OCastRawDeviceLayer
-
The type of message.
- getType() - Method in class org.ocast.sdk.core.models.SendGamepadEventCommandParams.Axis
-
The axis type.
- getType() - Method in class org.ocast.sdk.core.models.SetMediaTrackCommandParams
-
The track type.
- getUpdateFrequency() - Method in class org.ocast.sdk.core.models.PrepareMediaCommandParams
-
The frequency of
- getUpdateStatus(onSuccess, onError) - Method in class org.ocast.sdk.core.Device
-
Retrieves the firmware update status of the device.
- getUpdateStatus(onSuccess, onError) - Method in class org.ocast.sdk.core.ReferenceDevice
-
- GetUpdateStatusCommandParams - Class in org.ocast.sdk.core.models
-
Represents the parameters of a getUpdateStatus
command.
- GetUpdateStatusCommandParams() - Constructor for class org.ocast.sdk.core.models.GetUpdateStatusCommandParams
-
- getUpnpID() - Method in class org.ocast.sdk.core.Device
-
Returns the UPnP identifier of the device.
- getUrl() - Method in class org.ocast.sdk.core.models.PrepareMediaCommandParams
-
The media URL.
- getValue() - Method in enum org.ocast.sdk.core.models.OCastDomain
-
The domain raw value.
- getVersion() - Method in class org.ocast.sdk.core.models.UpdateStatus
-
The version of the firmware to update.
- getVideoTracks() - Method in class org.ocast.sdk.core.models.MediaMetadata
-
The list of video tracks of the media.
- getVolume() - Method in class org.ocast.sdk.core.models.MediaPlaybackStatus
-
The media volume,
- getVolume() - Method in class org.ocast.sdk.core.models.SetMediaVolumeCommandParams
-
The media volume,
- getWebSocketURL() - Method in class org.ocast.sdk.core.WebSocket
-
The web socket URL.
- getX() - Method in class org.ocast.sdk.core.models.SendGamepadEventCommandParams.Axis
-
The horizontal axis value,
- getX() - Method in class org.ocast.sdk.core.models.SendMouseEventCommandParams
-
The horizontal coordinate at which the event occurred relative to the origin of the screen coordinate system.
- getY() - Method in class org.ocast.sdk.core.models.SendGamepadEventCommandParams.Axis
-
The vertical axis value,
- getY() - Method in class org.ocast.sdk.core.models.SendMouseEventCommandParams
-
The vertical coordinate at which the event occurred relative to the origin of the screen coordinate system.
- OCastApplicationLayer<T> - Class in org.ocast.sdk.core.models
-
Represents an OCast application layer containing data.
- OCastApplicationLayer(service, data) - Constructor for class org.ocast.sdk.core.models.OCastApplicationLayer
-
- OCastCommandDeviceLayer<T> - Class in org.ocast.sdk.core.models
-
Represents an OCast device layer containing a command message.
- OCastCommandDeviceLayer(source, destination, identifier, message) - Constructor for class org.ocast.sdk.core.models.OCastCommandDeviceLayer
-
- OCastCommandParams - Class in org.ocast.sdk.core.models
-
Represents parameters for the data layer of a command.
- OCastCommandParams(name) - Constructor for class org.ocast.sdk.core.models.OCastCommandParams
-
- OCastDataLayer<T> - Class in org.ocast.sdk.core.models
-
Represents an OCast data layer.
- OCastDataLayer(name, params, options) - Constructor for class org.ocast.sdk.core.models.OCastDataLayer
-
- OCastDeviceSettingsError - Class in org.ocast.sdk.core.models
-
Represents an error from the device settings service.
- OCastDeviceSettingsError(status, message, cause) - Constructor for class org.ocast.sdk.core.models.OCastDeviceSettingsError
-
- OCastDeviceSettingsError(error) - Constructor for class org.ocast.sdk.core.models.OCastDeviceSettingsError
-
- OCastDeviceSettingsError.Status - Enum in org.ocast.sdk.core.models
-
- OCastDomain - Enum in org.ocast.sdk.core.models
-
Represents the OCast domains.
- OCastError - Class in org.ocast.sdk.core.models
-
Represents a generic OCast error.
- OCastError(code, message, cause) - Constructor for class org.ocast.sdk.core.models.OCastError
-
- OCastError(message, cause) - Constructor for class org.ocast.sdk.core.models.OCastError
-
- OCastError.Status - Enum in org.ocast.sdk.core.models
-
- OCastExtKt - Class in org.ocast.sdk.core.models
-
- OCastInputSettingsError - Class in org.ocast.sdk.core.models
-
Represents an error from the input settings service.
- OCastInputSettingsError(status, message, cause) - Constructor for class org.ocast.sdk.core.models.OCastInputSettingsError
-
- OCastInputSettingsError(error) - Constructor for class org.ocast.sdk.core.models.OCastInputSettingsError
-
- OCastInputSettingsError.Status - Enum in org.ocast.sdk.core.models
-
- OCastLog - Class in org.ocast.sdk.core.utils
-
This class logs OCast messages.
- OCastLog() - Constructor for class org.ocast.sdk.core.utils.OCastLog
-
This class logs OCast messages.
- OCastLog.Companion - Class in org.ocast.sdk.core.utils
-
The companion object.
- OCastLog.Level - Enum in org.ocast.sdk.core.utils
-
Represents the OCast log level.
- OCastLogKt - Class in org.ocast.sdk.core.utils
-
- OCastMediaError - Class in org.ocast.sdk.core.models
-
Represents an error from the media service.
- OCastMediaError(status, message, cause) - Constructor for class org.ocast.sdk.core.models.OCastMediaError
-
- OCastMediaError(error) - Constructor for class org.ocast.sdk.core.models.OCastMediaError
-
- OCastMediaError.Status - Enum in org.ocast.sdk.core.models
-
- OCastMediaRouteHelper - Class in org.ocast.mediaroute
-
This singleton provides methods to take advantage of the Android media route framework with OCast devices.
- OCastRawApplicationLayer - Class in org.ocast.sdk.core.models
-
Represents an OCast application layer containing raw data (i.e. the data
property is a String
).
- OCastRawApplicationLayer(service, data) - Constructor for class org.ocast.sdk.core.models.OCastRawApplicationLayer
-
- OCastRawDataLayer - Class in org.ocast.sdk.core.models
-
Represents an OCast data layer containing raw parameters (i.e. the params
property is a String
).
- OCastRawDataLayer(name, params, options) - Constructor for class org.ocast.sdk.core.models.OCastRawDataLayer
-
- OCastRawDeviceLayer - Class in org.ocast.sdk.core.models
-
Represents an OCast device layer containing a raw message (i.e. the data
property of message
is a String
).
- OCastRawDeviceLayer(source, destination, type, status, identifier, message) - Constructor for class org.ocast.sdk.core.models.OCastRawDeviceLayer
-
- OCastRawDeviceLayer.Status - Enum in org.ocast.sdk.core.models
-
Represents the transport status of an OCast device layer.
- OCastRawDeviceLayer.Type - Enum in org.ocast.sdk.core.models
-
Represents the type of message being sent in a device layer.
- OCastReplyEventParams - Class in org.ocast.sdk.core.models
-
Represents parameters for the data layer of a reply or an event.
- OCastReplyEventParams(code) - Constructor for class org.ocast.sdk.core.models.OCastReplyEventParams
-
- OkHttpExtKt - Class in org.ocast.sdk.common.extensions
-
- onAddDevice(device) - Method in class org.ocast.sdk.core.DeviceCenter
-
This method is called when an OCast device has been created and before it is added to the list of detected devices.
- onClosed(webSocket, code, reason) - Method in class org.ocast.sdk.core.WebSocket
-
- onConnected(webSocket) - Method in class org.ocast.sdk.core.ReferenceDevice
-
Tells the listener that the socket is connected to the device.
- onConnected(webSocket) - Method in interface org.ocast.sdk.core.WebSocket.Listener
-
Tells the listener that the socket is connected to the device.
- onCreateWebSockets(sslConfiguration, onComplete) - Method in class org.ocast.sdk.core.ReferenceDevice
-
Creates all the web sockets.
- onCustomEvent(device, name, params) - Method in interface org.ocast.sdk.core.EventListener
-
Tells the listener that a custom event from a web application was sent by a device.
- onDataReceived(webSocket, data) - Method in class org.ocast.sdk.core.ReferenceDevice
-
Tells the listener that the socket has received a message.
- onDataReceived(webSocket, data) - Method in interface org.ocast.sdk.core.WebSocket.Listener
-
Tells the listener that the socket has received a message.
- onDeviceDisconnected(device, error) - Method in interface org.ocast.sdk.core.DeviceListener
-
Tells the listener that a device has been disconnected.
- onDevicesAdded(devices) - Method in interface org.ocast.sdk.core.DeviceListener
-
Tells the listener that one or more devices have been discovered.
- onDevicesChanged(devices) - Method in interface org.ocast.sdk.core.DeviceListener
-
Tells the listener that one or more devices have changed.
- onDevicesRemoved(devices) - Method in interface org.ocast.sdk.core.DeviceListener
-
Tells the listener that one or more devices have been lost.
- onDisconnected(webSocket, error) - Method in class org.ocast.sdk.core.ReferenceDevice
-
Tells the listener that the socket has been disconnected from the device.
- onDisconnected(webSocket, error) - Method in interface org.ocast.sdk.core.WebSocket.Listener
-
Tells the listener that the socket has been disconnected from the device.
- onDiscoveryStopped(error) - Method in interface org.ocast.sdk.core.DeviceListener
-
Tells the listener that the device discovery stopped.
- onFailure(webSocket, throwable, response) - Method in class org.ocast.sdk.core.WebSocket
-
- onMediaMetadataChanged(device, mediaMetadata) - Method in interface org.ocast.sdk.core.EventListener
-
Tells the listener that a media metadata changed event was sent by a device.
- onMediaPlaybackStatus(device, mediaPlaybackStatus) - Method in interface org.ocast.sdk.core.EventListener
-
Tells the listener that a media playback status event was sent by a device.
- onMessage(webSocket, text) - Method in class org.ocast.sdk.core.WebSocket
-
- onOpen(webSocket, response) - Method in class org.ocast.sdk.core.WebSocket
-
- onRemoveDevice(device) - Method in class org.ocast.sdk.core.DeviceCenter
-
This method is called before an OCast device is removed from the list of detected devices.
- onUpdateStatus(device, updateStatus) - Method in interface org.ocast.sdk.core.EventListener
-
Tells the listener that a firmware update status event was sent by a device.
- options(options) - Method in class org.ocast.sdk.core.models.OCastCommandParams
-
Apply the specified options to the command.
- orElse($receiver, block) - Static method in class org.ocast.sdk.common.extensions.StandardExtKt
-
Calls the specified function
block
and returns its result if
this
is
null
.
- orFalse($receiver) - Static method in class org.ocast.sdk.common.extensions.BooleanExtKt
-
Returns the boolean if it is not null
, or false
otherwise.
- org.ocast.mediaroute - package org.ocast.mediaroute
-
- org.ocast.sdk.common.extensions - package org.ocast.sdk.common.extensions
-
- org.ocast.sdk.common.models - package org.ocast.sdk.common.models
-
- org.ocast.sdk.core - package org.ocast.sdk.core
-
- org.ocast.sdk.core.models - package org.ocast.sdk.core.models
-
- org.ocast.sdk.core.utils - package org.ocast.sdk.core.utils
-
- org.ocast.sdk.core.wrapper - package org.ocast.sdk.core.wrapper
-
- org.ocast.sdk.discovery.models - package org.ocast.sdk.discovery.models
-
- orTrue($receiver) - Static method in class org.ocast.sdk.common.extensions.BooleanExtKt
-
Returns the boolean if it is not null
, or true
otherwise.
- seekMedia(position, onSuccess, onError) - Method in class org.ocast.sdk.core.Device
-
Seeks the current media to the specified position.
- seekMedia(position, onSuccess, onError) - Method in class org.ocast.sdk.core.ReferenceDevice
-
- SeekMediaCommandParams - Class in org.ocast.sdk.core.models
-
Represents the parameters of a seek
command.
- SeekMediaCommandParams(position) - Constructor for class org.ocast.sdk.core.models.SeekMediaCommandParams
-
- send(message, domain, onSuccess, onError) - Method in class org.ocast.sdk.core.Device
-
Sends a message which does not expect any reply data to the specified OCast domain.
- send(message, domain, replyClass, onSuccess, onError) - Method in class org.ocast.sdk.core.Device
-
Sends a message which expects a reply data to the specified OCast domain.
- send(message, domain, onSuccess, onError) - Method in class org.ocast.sdk.core.ReferenceDevice
-
- send(message, domain, replyClass, onSuccess, onError) - Method in class org.ocast.sdk.core.ReferenceDevice
-
- send(message) - Method in class org.ocast.sdk.core.WebSocket
-
Sends a message on the web socket.
- sendGamepadEvent(params, onSuccess, onError) - Method in class org.ocast.sdk.core.Device
-
Sends a gamepad event.
- sendGamepadEvent(params, onSuccess, onError) - Method in class org.ocast.sdk.core.ReferenceDevice
-
- SendGamepadEventCommandParams - Class in org.ocast.sdk.core.models
-
Represents the parameters of a gamepadEvent
command.
- SendGamepadEventCommandParams(axes, buttons) - Constructor for class org.ocast.sdk.core.models.SendGamepadEventCommandParams
-
- SendGamepadEventCommandParams.Axis - Class in org.ocast.sdk.core.models
-
Represents a gamepad axis.
- SendGamepadEventCommandParams.Button - Enum in org.ocast.sdk.core.models
-
Represents a gamepad button.
- sendKeyEvent(params, onSuccess, onError) - Method in class org.ocast.sdk.core.Device
-
Sends a keyboard event.
- sendKeyEvent(params, onSuccess, onError) - Method in class org.ocast.sdk.core.ReferenceDevice
-
- SendKeyEventCommandParams - Class in org.ocast.sdk.core.models
-
Represents the parameters of a keyPressed
command.
- SendKeyEventCommandParams(key, code, ctrl, alt, shift, meta, location) - Constructor for class org.ocast.sdk.core.models.SendKeyEventCommandParams
-
- SendKeyEventCommandParams.DOMKeyLocation - Enum in org.ocast.sdk.core.models
-
Represents the location of a key on the keyboard.
- sendMouseEvent(params, onSuccess, onError) - Method in class org.ocast.sdk.core.Device
-
Sends a mouse event.
- sendMouseEvent(params, onSuccess, onError) - Method in class org.ocast.sdk.core.ReferenceDevice
-
- SendMouseEventCommandParams - Class in org.ocast.sdk.core.models
-
Represents the parameters of a mouseEvent
command.
- SendMouseEventCommandParams(x, y, buttons) - Constructor for class org.ocast.sdk.core.models.SendMouseEventCommandParams
-
- SendMouseEventCommandParams.Button - Enum in org.ocast.sdk.core.models
-
Represents a mouse button.
- sendToWebSocket(id, message, startApplicationIfNeeded, onError) - Method in class org.ocast.sdk.core.ReferenceDevice
-
Sends a message on the web socket.
- serialize(value, gen, serializers) - Method in class org.ocast.sdk.core.utils.BitflagsSerializer
-
- Service - Class in org.ocast.sdk.core.models
-
Represents an OCast service.
- Service() - Constructor for class org.ocast.sdk.core.models.Service
-
Represents an OCast service.
- Service.Companion - Class in org.ocast.sdk.core.models
-
The companion object.
- setApplicationName(applicationName) - Method in class org.ocast.sdk.core.Device
-
Changes the name of the web application to use.
- setApplicationName(applicationName) - Method in class org.ocast.sdk.core.ReferenceDevice
-
- setApplicationRunning(p) - Method in class org.ocast.sdk.core.ReferenceDevice
-
A boolean which indicates if the web application specified by applicationName
is currently running or not.
- setCallbackWrapper(callbackWrapper) - Method in class org.ocast.sdk.core.Device
-
Changes the callback wrapper.
- setCallbackWrapper(value) - Method in class org.ocast.sdk.core.DeviceCenter
-
The callback wrapper.
- setClientUuid(p) - Method in class org.ocast.sdk.core.ReferenceDevice
-
An identifier which uniquely identifies the device when sending OCast messages.
- setConnectCallback(p) - Method in class org.ocast.sdk.core.ReferenceDevice
-
The callback executed when the device connect process is complete.
- setDeviceListener(deviceListener) - Method in class org.ocast.sdk.core.Device
-
Changes the device listener.
- setDisconnectCallback(p) - Method in class org.ocast.sdk.core.ReferenceDevice
-
The callback executed when the device disconnect process is complete.
- setDiscoveryInterval(value) - Method in class org.ocast.sdk.core.DeviceCenter
-
The interval to refresh the devices, in milliseconds.
- setEventListener(eventListener) - Method in class org.ocast.sdk.core.Device
-
Changes the event listener.
- setLevel(p) - Method in class org.ocast.sdk.core.utils.OCastLog.Companion
-
The current OCast log level.
- setLevel(p) - Static method in class org.ocast.sdk.core.utils.OCastLog
-
The current OCast log level.
- setMediaTrack(params, onSuccess, onError) - Method in class org.ocast.sdk.core.Device
-
Changes the current track of the current media.
- setMediaTrack(params, onSuccess, onError) - Method in class org.ocast.sdk.core.ReferenceDevice
-
- SetMediaTrackCommandParams - Class in org.ocast.sdk.core.models
-
Represents the parameters of a track
command.
- SetMediaTrackCommandParams(type, trackID, isEnabled) - Constructor for class org.ocast.sdk.core.models.SetMediaTrackCommandParams
-
- SetMediaTrackCommandParams.Type - Enum in org.ocast.sdk.core.models
-
- setMediaVolume(volume, onSuccess, onError) - Method in class org.ocast.sdk.core.Device
-
Changes the media volume.
- setMediaVolume(volume, onSuccess, onError) - Method in class org.ocast.sdk.core.ReferenceDevice
-
- SetMediaVolumeCommandParams - Class in org.ocast.sdk.core.models
-
Represents the parameters of a volume
command.
- SetMediaVolumeCommandParams(volume) - Constructor for class org.ocast.sdk.core.models.SetMediaVolumeCommandParams
-
- setName(p) - Method in class org.ocast.sdk.core.models.OCastDataLayer
-
The name of the data.
- setName(p) - Method in class org.ocast.sdk.core.models.OCastRawDataLayer
-
The name of the data.
- setState(state) - Method in class org.ocast.sdk.core.Device
-
Changes the current state of the device.
- setState(state) - Method in class org.ocast.sdk.core.ReferenceDevice
-
- SettingsService - Class in org.ocast.sdk.core.models
-
Represents an OCast settings service.
- SettingsService() - Constructor for class org.ocast.sdk.core.models.SettingsService
-
Represents an OCast settings service.
- SettingsService.Companion - Class in org.ocast.sdk.core.models
-
The companion object.
- SimpleCallbackWrapper - Class in org.ocast.sdk.core.wrapper
-
- SimpleCallbackWrapper() - Constructor for class org.ocast.sdk.core.wrapper.SimpleCallbackWrapper
-
- SSLConfiguration - Class in org.ocast.sdk.core.models
-
This class represents an SSL configuration.
- SSLConfiguration(trustManager, socketFactory, hostnameVerifier) - Constructor for class org.ocast.sdk.core.models.SSLConfiguration
-
- StandardExtKt - Class in org.ocast.sdk.common.extensions
-
- startApplication(onSuccess, onError) - Method in class org.ocast.sdk.core.Device
-
Starts the application identified by the return value of `getApplicationName()`.
- startApplication(onSuccess, onError) - Method in class org.ocast.sdk.core.ReferenceDevice
-
- stopApplication(onSuccess, onError) - Method in class org.ocast.sdk.core.Device
-
Stops the application identified by the return value of `getApplicationName()`.
- stopApplication(onSuccess, onError) - Method in class org.ocast.sdk.core.ReferenceDevice
-
- stopDiscovery() - Method in class org.ocast.sdk.core.DeviceCenter
-
Stops the discovery process.
- stopMedia(onSuccess, onError) - Method in class org.ocast.sdk.core.Device
-
Stops the current media.
- stopMedia(onSuccess, onError) - Method in class org.ocast.sdk.core.ReferenceDevice
-
- StopMediaCommandParams - Class in org.ocast.sdk.core.models
-
Represents the parameters of a stop
command.
- StopMediaCommandParams() - Constructor for class org.ocast.sdk.core.models.StopMediaCommandParams
-