iOS SDK Version

FBSDKUserAgeRange

@interfaceFBSDKUserAgeRange:NSObject<FBSDKCopying,NSSecureCoding>/** The user's minimun age, nil if unspecified */@property(nullable,nonatomic,readonly,strong)NSNumber*min;/** The user's maximun age, nil if unspecified */@property(nullable,nonatomic,readonly,strong)NSNumber*max;-(instancetype)initNS_UNAVAILABLE;+(instancetype)newNS_UNAVAILABLE;/** Returns a UserAgeRange object from a dinctionary containing valid user age range. @param dictionary The dictionary containing raw user age range Valid user age range will consist of "min" and/or "max" values that are positive integers, where "min" is smaller than or equal to "max". */+(nullableinstancetype)ageRangeFromDictionary:(NSDictionary<NSString*,NSNumber*>*)dictionary;@end
Undocumented
  • The user’s minimun age, nil if unspecified

    Declaration

    Objective-C
    @property(nonatomic,strong,readonly,nullable)NSNumber*min;
    Swift
    varmin:NSNumber?{get}
  • The user’s maximun age, nil if unspecified

    Declaration

    Objective-C
    @property(nonatomic,strong,readonly,nullable)NSNumber*max;
    Swift
    varmax:NSNumber?{get}
  • Unavailable
    Undocumented

    Declaration

    Objective-C
    -(instancetype)initNS_UNAVAILABLE;
  • Unavailable
    Undocumented

    Declaration

    Objective-C
    +(instancetype)newNS_UNAVAILABLE;
  • Returns a UserAgeRange object from a dinctionary containing valid user age range.
    Valid user age range will consist of “min” and/or “max” values that are positive integers, where “min” is smaller than or equal to “max”.

    Declaration

    Objective-C
    +(nullableinstancetype)ageRangeFromDictionary:(nonnullNSDictionary<NSString*,NSNumber*>*)dictionary;
    Swift
    convenienceinit?(fromdictionary:[String:NSNumber])

    Parameters

    dictionary
    The dictionary containing raw user age range