@adapty/capacitor - v3.12.0-beta.1
    Preparing search index...

    Type Alias GetPlacementForDefaultAudienceParamsInput

    GetPlacementForDefaultAudienceParamsInput:
        | {
            fetchPolicy?: Exclude<
                FetchPolicy,
                "return_cache_data_if_not_expired_else_load",
            >;
        }
        | {
            fetchPolicy: Extract<
                FetchPolicy,
                "return_cache_data_if_not_expired_else_load",
            >;
            maxAgeSeconds: number;
        }

    Type Declaration

    • {
          fetchPolicy?: Exclude<
              FetchPolicy,
              "return_cache_data_if_not_expired_else_load",
          >;
      }
      • OptionalfetchPolicy?: Exclude<FetchPolicy, "return_cache_data_if_not_expired_else_load">

        Fetch policy

        By default SDK will try to load data from server and will return cached data in case of failure. Otherwise use 'return_cache_data_else_load' to return cached data if it exists.

    • {
          fetchPolicy: Extract<
              FetchPolicy,
              "return_cache_data_if_not_expired_else_load",
          >;
          maxAgeSeconds: number;
      }
      • fetchPolicy: Extract<FetchPolicy, "return_cache_data_if_not_expired_else_load">

        Fetch policy

        By default SDK will try to load data from server and will return cached data in case of failure. Otherwise use 'return_cache_data_else_load' to return cached data if it exists.

      • maxAgeSeconds: number

        Max age for cached data.

        Max time (in seconds) the cache is valid in case of 'return_cache_data_if_not_expired_else_load' fetch policy.