PTZ_ControllerFragment.IPtzCommandReceiver

public interface IPtzCommandReceiver

An activity must implement this interface to be able to receive notifications from the attached PTZ_ControllerFragment

Methods

onGoHome

public void onGoHome()

Called when the user clicks on the home button of the pan-tilt panel

onPTZstartMove

public void onPTZstartMove(PTZ_Direction dir)

Called when the user presses one button of the pan-tilt panel

Parameters:
  • dir – the required moving direction

onPTZstartZoom

public void onPTZstartZoom(PTZ_Zoom dir)

Called when the user presses one button of the zoom panel

Parameters:
  • dir – the required zooming direction

onPTZstopMove

public void onPTZstopMove(PTZ_Direction dir)

Called when the user releases one button of the pan-tilt panel

Parameters:
  • the – moving direction before this stop command

onPTZstopZoom

public void onPTZstopZoom(PTZ_Zoom dir)

Called when the user releases one button of the zoom panel

Parameters:
  • the – zooming direction before this stop command

onSnaphot

public void onSnaphot()

Called when the user clicks on the snapshot button