get Piloting Itf
abstract fun <PI : PilotingItf?> getPilotingItf(@NonNull pilotingItfClass: Class<PI>): PI
Content copied to clipboard
Gets a piloting interface.
Return
requested piloting interface, or null
if it's not present
Parameters
piloting Itf Class
class of the piloting interface
<PI>
type of the piloting interface class
abstract fun <PI : PilotingItf?> getPilotingItf(@NonNull pilotingItfClass: Class<PI>, @NonNull observer: Ref.Observer<PI>): Ref<PI>
Content copied to clipboard
Gets a piloting interface and registers an observer notified each time it changes.
Return
reference to the requested piloting interface
Parameters
piloting Itf Class
class of the piloting interface
observer
observer to notify when the piloting interface changes
<PI>
type of the piloting interface class