Most visited

Recently visited

ControllerStatusListener

public interface ControllerStatusListener

com.viro.core.ControllerStatusListener


Callback interface for responding to status change events for a Controller. These occur when a Controller is connected, disconnected, or enters an error state.

Summary

Public methods

abstract void onControllerStatus(int source, ControllerStatus status)

Callback invoked when a Controller's status changes.

Public methods

onControllerStatus

void onControllerStatus (int source, 
                ControllerStatus status)

Callback invoked when a Controller's status changes.

Parameters
source int: The platform specific source ID, which indicates what button or component on the Controller triggered the event. See the Controller's Guide for information.

status ControllerStatus: Indicates the new status of the Controller.

Hooray!