Package app.pivo.android.prosdk.events
Class PivoEvent
java.lang.Object
app.pivo.android.prosdk.events.PivoEvent
public class PivoEvent extends Object
PivoEvent is a list of events, which are sent by Pivo controller through @
PivoEventBus mechanism.-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPivoEvent.BatteryChangedPivoEvent.BatteryChangedis sent by sdk to inform the app about remaining battery level.static classPivoEvent.ConnectionCompletePivoEvent.ConnectionCompleteevent is sent ifPivoProSdk.connectTo(PivoDevice)completes the connection to Pivo device.static classPivoEvent.ConnectionFailureConnectionFailure event is published if Pivo disconnects from an application.static classPivoEvent.MacAddressPivoEvent.MacAddressis sent byPivoEventBusafter receiving Mac address from pivo.static classPivoEvent.NameChangedPivoEvent.NameChangedis sent byPivoEventBusafter Pivo name is changed successfully.static classPivoEvent.Offstatic classPivoEvent.RCCameraPivoEvent.RCCamerais sent byPivoEventBusif camera button is pressed on Pivo remote controller.static classPivoEvent.RCLeftPivoEvent.RCLeftis sent byPivoEventBusif left button is pressed on Pivo remote controller.static classPivoEvent.RCLeftContinuousPivoEvent.RCLeftContinuousis sent byPivoEventBusif left button is released after pressing the button on Pivo remote controller.static classPivoEvent.RCLeftPressedDeprecated.static classPivoEvent.RCLeftReleaseDeprecated.static classPivoEvent.RCModePivoEvent.RCModeis sent byPivoEventBusif the Pivo remote controller mode pressed.static classPivoEvent.RCRightPivoEvent.RCRightis sent byPivoEventBusif left button is pressed on Pivo remote controller.static classPivoEvent.RCRightContinuousPivoEvent.RCRightContinuousis sent byPivoEventBusif right button is released after pressing the button on Pivo remote controller.static classPivoEvent.RCRightPressedDeprecated.static classPivoEvent.RCRightReleaseDeprecated.static classPivoEvent.RCSpeedPivoEvent.RCSpeedis sent byPivoEventBusif speed up and down buttons pressedstatic classPivoEvent.RCSpeedDownThis event class is deprecated and please usePivoEvent.RCSpeedinstead of it.static classPivoEvent.RCSpeedDownPressedDeprecated.static classPivoEvent.RCSpeedDownReleaseDeprecated.static classPivoEvent.RCSpeedUpPivoEvent.RCSpeedUpis sent byPivoEventBuson pressing up speed button.static classPivoEvent.RCSpeedUpPressedDeprecated.static classPivoEvent.RCSpeedUpReleaseDeprecated.static classPivoEvent.RCStopPivoEvent.RCStopis sent byPivoEventBusif stop button is pressed on Pivo remote controller.static classPivoEvent.RotatedPivoEvent.Rotatedis sent byPivoEventBusto notify app about rotation.static classPivoEvent.ScanningPivoEvent.Scanningis sent byPivoEventBuswith found Pivo devices while pivo scanning process.static classPivoEvent.VersionPivoEvent.Versionis a version of connected Pivo -
Field Summary
-
Constructor Summary
Constructors Constructor Description PivoEvent() -
Method Summary
-
Field Details
-
UP
public static int UP -
DOWN
public static int DOWN -
PRESSED
public static int PRESSED -
RELEASE
public static int RELEASE
-
-
Constructor Details
-
PivoEvent
public PivoEvent()
-