Android Question Dji Library, DjiWaypoint

PABLO2013

Well-Known Member
Licensed User
Longtime User
Greetings, thanks in advance I wanted to know if there is an update for this library for these methods or if on the contrary they can be implemented by means of java object or some way thanks




B4X:
       public void actionTimeoutInSeconds(int i) {
            actionTimeoutInSeconds(i);
        }
        
        
        public void actionRepeatTimes(int i) {
            actionRepeatTimes(i);
        }
        
        
        public void cornerRadiusInMeters(int i) {
            cornerRadiusInMeters(i);
        }
        
        public void gimbalPitch(int i) {
            gimbalPitch(i);
        }
        
        
        public void heading(int i) {
            heading(i);
        }
        
        public void shootPhotoDistanceInterval(int i) {
            shootPhotoDistanceInterval(i);
        }
        
        public void shootPhotoTimeInterval(int i) {
            shootPhotoTimeInterval(i);
        }
        
        public void speed(int i) {
            speed(i);
        }
        
        public void turnMode(int i) {
            turnMode(i);
        }
 

PABLO2013

Well-Known Member
Licensed User
Longtime User
Hi , Erel, tks
It is from Dji Api

B4X:
......................
This is yours
.....................
@ShortName("DJIWaypoint")

public void AddAction(WaypointActionType Action, int Parameter) {
            if (getObject().addAction(new WaypointAction(Action, Parameter)) == false)
                throw new RuntimeException("Cannot add action");
        }

.................
This is mine
................
i  try to implement myself but I do not see the element (getObject()) ...i do not know if this would be fine... without the (getObject())


public void shootPhotoTimeInterval(int i) {
   xxxx. shootPhotoTimeInterval(i);  ////////////if I put it (getObject()) in  eclipse it gives me an error
       }

.....

upload_2019-2-26_12-6-53.png
 
Upvote 0
Top