Skip to content

//sorisdk/com.iplateia.sorisdk/SORIApiClient/postActivity

postActivity

[androidJvm]
suspend fun postActivity(materialId: String): 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

materialIdThe ID of the material to post