public interface PlatformInterface
| Modifier and Type | Method and Description |
|---|---|
default void |
accessTokensCallback(java.lang.String token,
Command.State status)
This function executes upon receive of access token
after
NativeInterface.getAccessTokens(CocoClient.AccessTokensListener) is called. |
void |
authCallback(java.lang.String authorizationEndpoint,
java.lang.String tokenEndpoint)
This function is a callback from C-SDK when it is unable to
get access tokens from refresh tokens.
|
java.lang.String |
getAppAccessList()
A function to be implemented to define the accessibility signed up by developer to C-SDK.
|
java.lang.String |
getClientId()
A function to be implemented to provide client ID to the SDK.
|
java.lang.String |
getCwdPath()
A function to be implemented to define current working directory for the application.
|
default java.lang.String |
getDownloadPath()
A function to define download directory.
|
java.lang.String getCwdPath()
java.lang.String getClientId()
java.lang.String getAppAccessList()
void authCallback(java.lang.String authorizationEndpoint,
java.lang.String tokenEndpoint)
authorizationEndpoint - The authorization endpoint provided by C-SDK.tokenEndpoint - The token end point provided by C-SDK.default void accessTokensCallback(java.lang.String token,
Command.State status)
NativeInterface.getAccessTokens(CocoClient.AccessTokensListener) is called.token - The stringified JSON Access Token.status - The status of the response.default java.lang.String getDownloadPath()