Package com.iplateia.sorisdk
Class SORICampaign
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class SORICampaign implements Parcelable
Represents a SORI campaign that found during the audio recognition process.
-
-
Field Summary
Fields Modifier and Type Field Description private final StringactivityIdprivate final Stringidprivate final Stringnameprivate final Stringdescriptionprivate final StringimageUrlprivate final StringactionUrlprivate final LongcreatedAtprivate final StringmaterialIdprivate final SORIActivityTraittrait
-
Constructor Summary
Constructors Constructor Description SORICampaign(String id, String name, String description, String imageUrl, String actionUrl, Long createdAt, String materialId, SORIActivityTrait trait)
-
Method Summary
Modifier and Type Method Description final StringgetActivityId()The server activity ID shared by an initial activity and its refinement. final StringgetId()The unique identifier of the campaign. final StringgetName()The name of the campaign. final StringgetDescription()The description of the campaign. final StringgetImageUrl()The URL of the campaign image. final StringgetActionUrl()The action associated with the campaign. final LonggetCreatedAt()The timestamp when the campaign was created. final StringgetMaterialId()The recognized material ID that produced this campaign. final SORIActivityTraitgetTrait()Legacy request-side data retained for source and binary compatibility. -
-
Method Detail
-
getActivityId
final String getActivityId()
The server activity ID shared by an initial activity and its refinement. This is null for responses from older servers that do not provide
activity_id.
-
getDescription
final String getDescription()
The description of the campaign.
-
getImageUrl
final String getImageUrl()
The URL of the campaign image.
-
getActionUrl
final String getActionUrl()
The action associated with the campaign.
-
getCreatedAt
final Long getCreatedAt()
The timestamp when the campaign was created.
-
getMaterialId
final String getMaterialId()
The recognized material ID that produced this campaign.
-
getTrait
final SORIActivityTrait getTrait()
Legacy request-side data retained for source and binary compatibility. SDK activity responses leave this null because bundled codebook labels are private transport evidence, not public marker identity. Use SORIAudioMarker marker events instead.
-
-
-
-