Android Question Writing documentation for libraries generated with B4A

DonManfred

Expert
Licensed User
Longtime User
B4X:
'Get information about a user's account.
' The Event
'<code>Example:
'dbx.GetAccount("454365363464")</code>
Sub GetAccount(accountID As String)
    Dim job As HttpJobCode
    job.Initialize("getaccount",Me)
    job.PostString(mApiV2url&"users/get_account",$"{"account_id":"${accountID}"}"$)
    job.GetRequest.SetHeader("Authorization", "Bearer "&mAccessToken)
    job.GetRequest.SetHeader("Content-Type", "application/json")
    job.GetRequest.SetContentType("application/json")
    job.GetRequest.SetContentEncoding("text/plain")
End Sub

This is how it looks like after you compiled the library and use it in another project.

 
Last edited:
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…