public interface

PilotingItf.Provider

 com.parrot.drone.groundsdk.device.pilotingitf.PilotingItf.Provider

Subclasses:

Drone

Overview

An interface for an object capable of providing a PilotingItf.

Summary

Methods
public PilotingItfgetPilotingItf(Class<PilotingItf> pilotingItfClass)

Gets a piloting interface.

public Ref<PilotingItf>getPilotingItf(Class<PilotingItf> pilotingItfClass, Ref.Observer<PilotingItf> observer)

Gets a piloting interface and registers an observer notified each time it changes.

Methods

public PilotingItf getPilotingItf(Class<PilotingItf> pilotingItfClass)

Gets a piloting interface.

Parameters:

pilotingItfClass: class of the piloting interface

Returns:

requested piloting interface, or null if it's not present

public Ref<PilotingItf> getPilotingItf(Class<PilotingItf> pilotingItfClass, Ref.Observer<PilotingItf> observer)

Gets a piloting interface and registers an observer notified each time it changes.

Parameters:

pilotingItfClass: class of the piloting interface
observer: observer to notify when the piloting interface changes

Returns:

reference to the requested piloting interface