//sorisdk/com.iplateia.sorisdk/SORIApiClient/postActivity
postActivity
[androidJvm]
suspend fun postActivity(materialId: String, skipNetworkCheck: Boolean = false): SORICampaign?
This function posts an activity to the Sori API and retrieves a campaign object from the response.
Return
A SORICampaign object containing campaign details, or null if the request fails
Parameters
androidJvm
materialId | The ID of the material to post |
skipNetworkCheck | Skip network availability check (for internal retry) |
Throws
NetworkUnavailableException | if network is not available |