public interface

SkylinkCallback

sg.com.temasys.skylink.sdk.rtc.SkylinkCallback
Known Indirect Subclasses

Class Overview

This will be interface via which a SDK API will accept callbacks, which may provide errors or results from the method that it was passed to.

Summary

Nested Classes
interface SkylinkCallback.InputVideoResolution This will be interface via API getInputVideoResolution(String, InputVideoResolution), which will provide the result for getting input video resolution of a specific media id  
interface SkylinkCallback.ReceivedVideoResolution This will be interface via API getReceivedVideoResolution(String, ReceivedVideoResolution), which will provide the result for getting received video resolution of a specific media id  
interface SkylinkCallback.SentVideoResolution This will be interface via API getSentVideoResolution(String, String, SentVideoResolution), which will provide the result for getting sent video resolution of a specific media id to a specific remote peer  
interface SkylinkCallback.StoredMessages This will be interface via API getStoredMessages(StoredMessages))}, which will provide the result for getting stored messages from the server, including stored messages results and errors if present  
interface SkylinkCallback.TransferSpeed This will be interface via API getSentTransferSpeed(String, String, TransferSpeed) or getReceivedTransferSpeed(String, TransferSpeed), which will provide the result for getting sent/received transfer speed of a specific media id  
interface SkylinkCallback.WebRtcStats This will be interface via API getSentWebRtcStats(String, String, WebRtcStats) or getReceivedWebRtcStats(String, WebRtcStats), which will provide the result for getting sent/received full statistics of a specific media id  
Public Methods
abstract void onError(SkylinkError error, HashMap<String, Object> details)
This is triggered if the Skylink API to which this SkylinkCallback was provided met with an error during execution.

Public Methods

public abstract void onError (SkylinkError error, HashMap<String, Object> details)

This is triggered if the Skylink API to which this SkylinkCallback was provided met with an error during execution.

Parameters
error SkylinkError that describes the type of error encountered.
details Additional details about this error in a map where the key is a string and value can be any object type. This could be null if there are no additional details. Possible key value(s) are defined in the specific SkylinkError documentation.