get Supported Animations
abstract fun getSupportedAnimations(@NonNull pilotingItfClass: Class<out PilotingItf>): EnumSet<Animation.Type>
Retrieves supported animation types for the given piloting interface.
By convention, calling this method with AnimationItf
piloting interface will return an empty set.
Note: this method is not supported by all drone models, it will always return an empty set in that case.
Return
a set of animation types that can be executed when the drone is in the given piloting interface and the requirements are fulfilled
Parameters
piloting Itf Class
class of the piloting interface