Class SDKTelemetryValidator

  • All Implemented Interfaces:
    com.inmobi.commons.core.telemetry.ITelemetryValidator

    
    public final class SDKTelemetryValidator
     implements ITelemetryValidator
                        

    This class does the validations that are required for SDK telemetry events fun isEventValid() does the validations for the valid SDK event fun isEventSampled() handles the validations for sampling for the SDK events

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final String TAG
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final String getTAG()
      Boolean isEventValid(Map<String, Object> keyValueMap, String eventType) isEventValid checks for EventType AssetDownloaded if ASSETTYPE is the key present inside the keyValueMap of the Telemetry Event then it checks for: isImageEnabled isGIFEnabled isVideoEnabled if not enabled then return false
      Integer isEventSampled(String eventType)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait