BDKEnvironment

Objective-C

@interface BDKEnvironment : NSObject <NSCopying>

Swift

class BDKEnvironment : NSObject, NSCopying

The environment in which the sdk will run.

  • Returns the environment object used in production.

    Declaration

    Objective-C

    @property (class, nonatomic, readonly) BDKEnvironment *_Nonnull production;

    Swift

    class var production: BDKEnvironment { get }
  • Returns the environment object used in sandbox.

    Declaration

    Objective-C

    @property (class, nonatomic, readonly) BDKEnvironment *_Nonnull sandbox;

    Swift

    class var sandbox: BDKEnvironment { get }
  • Returns the name of the environment.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) NSString *_Nonnull name;

    Swift

    var name: String { get }