Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
Sidebar

Interface IProxyListenerBase

Package
com.smartdevicelink.proxy.interfaces
All Known Subinterfaces
com.smartdevicelink.proxy.IProxyListener, com.smartdevicelink.proxy.interfaces.IProxyListenerALM
All Known Implementing Classes
com.smartdevicelink.managers.ProxyBridge

Quick Jump

Methods

Methods

onOnHMIStatus( OnHMIStatus notification )

onOnHMIStatus being called indicates that there has been an HMI Level change, system context change or audio streaming state change.

public void onOnHMIStatus(OnHMIStatus notification)

Parameters

notification
- Contains information about the HMI Level, system context and audio streaming state.

onProxyClosed( String info, Exception e, SdlDisconnectedReason reason )

onProxyClosed has different functionality for the different models. In the non-ALM model this indicates that the proxy has experienced an unrecoverable error. A new proxy object must be initiated to reestablish connection with SDL. In the ALM model this indicates that the app is no longer registered with SDL All resources on SDL (addCommands and ChoiceSets) have been deleted and will have to be recreated upon the next onReadyForInitialization() call-back.

public void onProxyClosed(String info,Exception e,SdlDisconnectedReason reason)

Parameters

info
- Includes information about the reason the proxy has been closed.
e
- The exception that occurred.
reason

onServiceEnded( OnServiceEnded serviceEnded )

public void onServiceEnded(OnServiceEnded serviceEnded)

Parameters

serviceEnded

onServiceNACKed( OnServiceNACKed serviceNACKed )

public void onServiceNACKed(OnServiceNACKed serviceNACKed)

Parameters

serviceNACKed

onOnStreamRPC( OnStreamRPC notification )

public void onOnStreamRPC(OnStreamRPC notification)

Parameters

notification

onStreamRPCResponse( StreamRPCResponse response )

public void onStreamRPCResponse(StreamRPCResponse response)

Parameters

response

onError( String info, Exception e )

onProxyError() being called indicates that the SDL Proxy experenced an error.

public void onError(String info,Exception e)

Parameters

info
- Includes information about the Exception that occurred.
e
- The exception that occurred.

onGenericResponse( GenericResponse response )

onGenericResponse() being called indicates that SDL could not determine the type of request it is responding to. This is usually result of an unknown RPC Request being sent.

public void onGenericResponse(GenericResponse response)

Parameters

response
- Includes detailed information about the response.

onOnCommand( OnCommand notification )

onOnCommand() being called indicates that the user selected a command on SDL.

public void onOnCommand(OnCommand notification)

Parameters

notification
- Contains information about the command chosen.

onAddCommandResponse( AddCommandResponse response )

onAddCommandResponse() being called indicates that SDL has responded to a request to add a command.

public void onAddCommandResponse(AddCommandResponse response)

Parameters

response
- Contains information about the response sent from SDL.

onAddSubMenuResponse( AddSubMenuResponse response )

onAddSubMenuResponse() being called indicates that SDL has responded to a request to add a command.

public void onAddSubMenuResponse(AddSubMenuResponse response)

Parameters

response
- Contains information about the response sent from SDL.

onCreateInteractionChoiceSetResponse( CreateInteractionChoiceSetResponse response )

onCreateInteractionChoiceSetResponse() being called indicates that SDL has responded to a request to add an interactionChoiceSet.

public void onCreateInteractionChoiceSetResponse(CreateInteractionChoiceSetResponse response)

Parameters

response
- Contains information about the response sent from SDL.

onAlertResponse( AlertResponse response )

onAlertResponse being called indicates that SDL has responded to a request to alert the user.

public void onAlertResponse(AlertResponse response)

Parameters

response
- Contains information about the response sent from SDL.

onDeleteCommandResponse( DeleteCommandResponse response )

onDeleteCommandResponse being called indicates that SDL has responded to a request to delete a command.

public void onDeleteCommandResponse(DeleteCommandResponse response)

Parameters

response
- Contains information about the response sent from SDL.

onDeleteInteractionChoiceSetResponse( DeleteInteractionChoiceSetResponse response )

onDeleteCommandResponse being called indicates that SDL has responded to a request to delete an interaction choice set.

public void onDeleteInteractionChoiceSetResponse(DeleteInteractionChoiceSetResponse response)

Parameters

response
- Contains information about the response sent from SDL.

onDeleteSubMenuResponse( DeleteSubMenuResponse response )

onDeleteCommandResponse being called indicates that SDL has responded to a request to delete a submenu.

public void onDeleteSubMenuResponse(DeleteSubMenuResponse response)

Parameters

response
- Contains information about the response sent from SDL.

onPerformInteractionResponse( PerformInteractionResponse response )

onPerformInteractionResponse being called indicates that SDL has responded to a request to perform an interaction.

public void onPerformInteractionResponse(PerformInteractionResponse response)

Parameters

response
- Contains information about the response sent from SDL.

onResetGlobalPropertiesResponse( ResetGlobalPropertiesResponse response )

onResetGlobalPropertiesResponse being called indicates that SDL has responded to a request to reset global properties.

public void onResetGlobalPropertiesResponse(ResetGlobalPropertiesResponse response)

Parameters

response
- Contains information about the response sent from SDL.

onSetGlobalPropertiesResponse( SetGlobalPropertiesResponse response )

onSetGlobalPropertiesResponse being called indicates that SDL has responded to a request to set global properties.

public void onSetGlobalPropertiesResponse(SetGlobalPropertiesResponse response)

Parameters

response
- Contains information about the response sent from SDL.

onSetMediaClockTimerResponse( SetMediaClockTimerResponse response )

onSetMediaClockTimerResponse being called indicates that SDL has responded to a request to set the media clock timer.

public void onSetMediaClockTimerResponse(SetMediaClockTimerResponse response)

Parameters

response
- Contains information about the response sent from SDL.

onShowResponse( ShowResponse response )

onShowResponse being called indicates that SDL has responded to a request to display information to the user.

public void onShowResponse(ShowResponse response)

Parameters

response
- Contains information about the response sent from SDL.

onSpeakResponse( SpeakResponse response )

onSpeakResponse being called indicates that SDL has responded to a request to speak information to the user.

public void onSpeakResponse(SpeakResponse response)

Parameters

response
- Contains information about the response sent from SDL.

onOnButtonEvent( OnButtonEvent notification )

onButtonEvent being called indicates that a button event has occurred.

public void onOnButtonEvent(OnButtonEvent notification)

Parameters

notification
- Contains information about the notification sent from SDL.

onOnButtonPress( OnButtonPress notification )

onButtonPress being called indicates that SDL has a button has been pressed by the user.

public void onOnButtonPress(OnButtonPress notification)

Parameters

notification
- Contains information about the notification sent from SDL.

onSubscribeButtonResponse( SubscribeButtonResponse response )

onSubscribeButtonResponse being called indicates that SDL has responded to a request to subscribe to button events and button presses.

public void onSubscribeButtonResponse(SubscribeButtonResponse response)

Parameters

response
- Contains information about the response sent from SDL.

onUnsubscribeButtonResponse( UnsubscribeButtonResponse response )

onUnsubscribeButtonResponse being called indicates that SDL has responded to a request to unsubscribe from button events and button presses.

public void onUnsubscribeButtonResponse(UnsubscribeButtonResponse response)

Parameters

response
- Contains information about the response sent from SDL.

onOnPermissionsChange( OnPermissionsChange notification )

onOnPermissionsChange being called indicates that your app permissions have changed due to a policy table change. This can mean your app has received additional permissions OR lost permissions.

public void onOnPermissionsChange(OnPermissionsChange notification)

Parameters

notification
- Contains information about the changed permissions.

onSubscribeVehicleDataResponse( SubscribeVehicleDataResponse response )

public void onSubscribeVehicleDataResponse(SubscribeVehicleDataResponse response)

Parameters

response

onUnsubscribeVehicleDataResponse( UnsubscribeVehicleDataResponse response )

public void onUnsubscribeVehicleDataResponse(UnsubscribeVehicleDataResponse response)

Parameters

response

onGetVehicleDataResponse( GetVehicleDataResponse response )

public void onGetVehicleDataResponse(GetVehicleDataResponse response)

Parameters

response

onOnVehicleData( OnVehicleData notification )

public void onOnVehicleData(OnVehicleData notification)

Parameters

notification

onPerformAudioPassThruResponse( PerformAudioPassThruResponse response )

public void onPerformAudioPassThruResponse(PerformAudioPassThruResponse response)

Parameters

response

onEndAudioPassThruResponse( EndAudioPassThruResponse response )

public void onEndAudioPassThruResponse(EndAudioPassThruResponse response)

Parameters

response

onOnAudioPassThru( OnAudioPassThru notification )

public void onOnAudioPassThru(OnAudioPassThru notification)

Parameters

notification

onPutFileResponse( PutFileResponse response )

public void onPutFileResponse(PutFileResponse response)

Parameters

response

onDeleteFileResponse( DeleteFileResponse response )

public void onDeleteFileResponse(DeleteFileResponse response)

Parameters

response

onListFilesResponse( ListFilesResponse response )

public void onListFilesResponse(ListFilesResponse response)

Parameters

response

onSetAppIconResponse( SetAppIconResponse response )

public void onSetAppIconResponse(SetAppIconResponse response)

Parameters

response

onScrollableMessageResponse( ScrollableMessageResponse response )

public void onScrollableMessageResponse(ScrollableMessageResponse response)

Parameters

response

onChangeRegistrationResponse( ChangeRegistrationResponse response )

public void onChangeRegistrationResponse(ChangeRegistrationResponse response)

Parameters

response

onSetDisplayLayoutResponse( SetDisplayLayoutResponse response )

public void onSetDisplayLayoutResponse(SetDisplayLayoutResponse response)

Parameters

response

onOnLanguageChange( OnLanguageChange notification )

public void onOnLanguageChange(OnLanguageChange notification)

Parameters

notification

onOnHashChange( OnHashChange notification )

public void onOnHashChange(OnHashChange notification)

Parameters

notification

onSliderResponse( SliderResponse response )

public void onSliderResponse(SliderResponse response)

Parameters

response

onOnDriverDistraction( OnDriverDistraction notification )

public void onOnDriverDistraction(OnDriverDistraction notification)

Parameters

notification

onOnTBTClientState( OnTBTClientState notification )

public void onOnTBTClientState(OnTBTClientState notification)

Parameters

notification

onOnSystemRequest( OnSystemRequest notification )

public void onOnSystemRequest(OnSystemRequest notification)

Parameters

notification

onSystemRequestResponse( SystemRequestResponse response )

public void onSystemRequestResponse(SystemRequestResponse response)

Parameters

response

onOnKeyboardInput( OnKeyboardInput notification )

public void onOnKeyboardInput(OnKeyboardInput notification)

Parameters

notification

onOnTouchEvent( OnTouchEvent notification )

public void onOnTouchEvent(OnTouchEvent notification)

Parameters

notification

onDiagnosticMessageResponse( DiagnosticMessageResponse response )

public void onDiagnosticMessageResponse(DiagnosticMessageResponse response)

Parameters

response

onReadDIDResponse( ReadDIDResponse response )

public void onReadDIDResponse(ReadDIDResponse response)

Parameters

response

onGetDTCsResponse( GetDTCsResponse response )

public void onGetDTCsResponse(GetDTCsResponse response)

Parameters

response

onOnLockScreenNotification( OnLockScreenStatus notification )

public void onOnLockScreenNotification(OnLockScreenStatus notification)

Parameters

notification

onDialNumberResponse( DialNumberResponse response )

public void onDialNumberResponse(DialNumberResponse response)

Parameters

response

onSendLocationResponse( SendLocationResponse response )

public void onSendLocationResponse(SendLocationResponse response)

Parameters

response

onShowConstantTbtResponse( ShowConstantTbtResponse response )

public void onShowConstantTbtResponse(ShowConstantTbtResponse response)

Parameters

response

onAlertManeuverResponse( AlertManeuverResponse response )

public void onAlertManeuverResponse(AlertManeuverResponse response)

Parameters

response

onUpdateTurnListResponse( UpdateTurnListResponse response )

public void onUpdateTurnListResponse(UpdateTurnListResponse response)

Parameters

response

onServiceDataACK( int dataSize )

public void onServiceDataACK(int dataSize)

Parameters

dataSize

onGetWayPointsResponse( GetWayPointsResponse response )

public void onGetWayPointsResponse(GetWayPointsResponse response)

Parameters

response

onSubscribeWayPointsResponse( SubscribeWayPointsResponse response )

public void onSubscribeWayPointsResponse(SubscribeWayPointsResponse response)

Parameters

response

onUnsubscribeWayPointsResponse( UnsubscribeWayPointsResponse response )

public void onUnsubscribeWayPointsResponse(UnsubscribeWayPointsResponse response)

Parameters

response

onOnWayPointChange( OnWayPointChange notification )

public void onOnWayPointChange(OnWayPointChange notification)

Parameters

notification

onGetSystemCapabilityResponse( GetSystemCapabilityResponse response )

public void onGetSystemCapabilityResponse(GetSystemCapabilityResponse response)

Parameters

response

onGetInteriorVehicleDataResponse( GetInteriorVehicleDataResponse response )

public void onGetInteriorVehicleDataResponse(GetInteriorVehicleDataResponse response)

Parameters

response

onButtonPressResponse( ButtonPressResponse response )

public void onButtonPressResponse(ButtonPressResponse response)

Parameters

response

onSetInteriorVehicleDataResponse( SetInteriorVehicleDataResponse response )

public void onSetInteriorVehicleDataResponse(SetInteriorVehicleDataResponse response)

Parameters

response

onOnInteriorVehicleData( OnInteriorVehicleData notification )

public void onOnInteriorVehicleData(OnInteriorVehicleData notification)

Parameters

notification

onSendHapticDataResponse( SendHapticDataResponse response )

public void onSendHapticDataResponse(SendHapticDataResponse response)

Parameters

response

onOnRCStatus( OnRCStatus notification )

public void onOnRCStatus(OnRCStatus notification)

Parameters

notification
View on GitHub.com
Previous Section Next Section