Package 

Class DomainManager

  • All Implemented Interfaces:
    com.batch.android.core.domain.IDomainManager

    
    public class DomainManager
     implements IDomainManager
                        
    • Constructor Detail

    • Method Detail

      • resetErrorCountIfNeeded

         void resetErrorCountIfNeeded()

        Resets the error count if needed, for instance if a success api call was done on the current domain.

      • url

         String url(DomainService service, boolean overrideWithOriginal)

        Returns the URL associated with a specific service.The `overrideWithOriginal` parameter determines whether the URL should be based on the original domain or the current domain.

      • isCurrentDomain

         boolean isCurrentDomain(String domain)

        Determine if the given domain is the current one