I note that when I include a description of my java-wrapper, the description never gets included in the generated xml-file.
I had a look at some of the libs which Anywheresoftware has published on Github and it seems like I am inserting the description just as Erel does in his libraries. I normally insert the description just before the @ShortName annotation and then I insert the static method LIBRARY_DOC after the Class declaration. Here is an example:
I noted that Erel does not seem to include the static method LIBRARY_DOC and I also tried without it but still no luck.
I am using SLC version 1.06 and the Doclet version seems to 1.07 as follows:
I fix this by hand so it is not a big deal but I am curious if it is only me having this problem....
All other method-descriptions are correctly generated and shown.
I attach a wrapper and its generated xml file for reference.
Thanks.
I had a look at some of the libs which Anywheresoftware has published on Github and it seems like I am inserting the description just as Erel does in his libraries. I normally insert the description just before the @ShortName annotation and then I insert the static method LIBRARY_DOC after the Class declaration. Here is an example:
B4X:
@BA.Version(0.25f)
@BA.Author("Github: tastelessjolt, Wrapped by: moster67/Mikael Osterhed")
@BA.DependsOn(values = {"B4AYouTubeDLSupport","kotlin-stdlib-1.3.0","named-regexp-0.2.5","okhttp-3.5.0","okio-1.11.0"})
@BA.Permissions(values = { "android.permission.INTERNET"})
@BA.Events(values = {"OnResult(VideoInfo as Object, StreamInfo as Object)","OnError"})
/**
* This is a wrap of an Android version of YouTube-DL which will extract a direct link which
* can be used to download or stream a video.
* You need to initialize the library, then you pass on the shortened YouTube link (in Google's
* Share format such as https://youtu.be/IfHG7bj-CE3) to the ExtractLink-method.
* You will then need to monitor the two available events: OnError and OnResult.
* OnError will trigger if something goes wrong. The OnResult-event will trigger if everything worked fine
* and returns two Map-objects. THe first object, VideoInfo, contains general information about the
* video while the second object, StreamInfo, contains direct-links of the video. The StreamInfo
* contains different formats of the links and another Map-object which holds the url and other
* information indicating quality, with or without video/audio etc for each format. Normally the
* first (0) item in the Map is the best one (quality-wise) but being a Map, the order cannot be guaranteed.
* You can use the "itag" information to also get the best url. The lowest value of "itag" should be the best one.
*/
@BA.ShortName("B4AYouTubeDL")
public class B4aYouTubeDL {
public static void LIBRARY_DOC() {}
private BA ba;
//......
}
I noted that Erel does not seem to include the static method LIBRARY_DOC and I also tried without it but still no luck.
I am using SLC version 1.06 and the Doclet version seems to 1.07 as follows:
B4X:
<doclet-version-NOT-library-version>1.07</doclet-version-NOT-library-version>
I fix this by hand so it is not a big deal but I am curious if it is only me having this problem....
All other method-descriptions are correctly generated and shown.
I attach a wrapper and its generated xml file for reference.
Thanks.