Android SDK Samples - Profiles Operations
//$companyInfo object is of ZCRMCompanyInfo
//call getProfiles() using $companyInfo object
$companyInfo.getProfiles(object : DataCallback<BulkAPIResponse, List<ZCRMProfile>>
{
override fun completed(response: BulkAPIResponse, profiles: List<ZCRMProfile>)
{
println("${response.responseJSON}")
}
override fun failed(exception: ZCRMException)
{
println("Throws Exception: $exception")
}
})