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.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
      SORICampaign(String id, String name, String description, String imageUrl, String actionUrl, Long createdAt, String materialId, SORIActivityTrait trait)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final String getActivityId() The server activity ID shared by an initial activity and its refinement.
      final String getId() The unique identifier of the campaign.
      final String getName() The name of the campaign.
      final String getDescription() The description of the campaign.
      final String getImageUrl() The URL of the campaign image.
      final String getActionUrl() The action associated with the campaign.
      final Long getCreatedAt() The timestamp when the campaign was created.
      final String getMaterialId() The recognized material ID that produced this campaign.
      final SORIActivityTrait getTrait() Legacy request-side data retained for source and binary compatibility.
      • Methods inherited from class android.os.Parcelable

        describeContents, writeToParcel
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SORICampaign

        SORICampaign(String id, String name, String description, String imageUrl, String actionUrl, Long createdAt, String materialId, SORIActivityTrait trait)
    • 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.

      • getId

         final String getId()

        The unique identifier of the campaign.

      • getName

         final String getName()

        The name of the campaign.

      • 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.