what does the "ageGates" parameter do..?

I've tried pass different value like 13,16,18, but I don't see any difference..? could anyone tell what could happen differently if I pass a different value here?

Thanks for taking the time to post your question here. What API are you talking about? You have file under Declared Age, so is in the DeclaredAgeRange? I would expand the question to provide more information about the method you are calling.

  • Provide more details: Expanding on your post to include any code snippets, steps you've already taken to troubleshoot, and the expected/actual outcomes would be very helpful.
  • Be specific about your technology stack: Clearly state the programming languages, frameworks, or tools you are using.
  • Check for duplicates: Before posting, make sure your question hasn't been asked before. You can use the search bar to find similar threads.

I'm sure someone in the community will be able to help once you have a chance to update your post.

Thanks

Albert Pascual
  Worldwide Developer Relations.

func requestAgeRange( ageGates threshold1: Int, _ threshold2: Int? = nil, _ threshold3: Int? = nil, in viewController: UIViewController ) async throws -> AgeRangeService.Response

Hi it's this API. not sure what the ageGates threshold1 would make any diffference

Thanks for the reply, so that means this?

API Documentation

On that page I would remark to check what the method does and also the note as declares restrictions not look ups.

Use requestAgeRange(ageGates:_:_:in:) to implement age-range based restrictions

There are other developers here that may know more about how to implement this functionality.

Albert Pascual
  Worldwide Developer Relations.

what does the "ageGates" parameter do..?
 
 
Q