BUErrorStringParameters Class Reference

Inherits from NSObject
Declared in BUErrorStringParameters.h

Overview

Runtime string parameters

Collection of arrays that can be used for parameters based on NSString format in the BlinkUpError.strings localization file. See the Text Customization guide.

  // Example .strings text
  "FailedGettingPlanIdFromServer" = @"An error occured getting a PlanId for device: %@";

  // Example setting of parameter for the format string
  [BUErrorStringParameters shared].failedGettingPlanIdFromServer = @[@"Device 3"];

+ shared

The global error strings

+ (nonnull instancetype)shared

Return Value

A singleton where the string parameters can be set

Declared In

BUErrorStringParameters.h

  badFlashPacket

From BlinkUpError BlinkUpErrorFlashPacketInvalid

@property (nonatomic, copy, nullable) NSArray *badFlashPacket

Discussion

From BlinkUpError BlinkUpErrorFlashPacketInvalid

Declared In

BUErrorStringParameters.h

  badPlanId

From BlinkUpError BlinkUpErrorPlanIDInvalid

@property (nonatomic, copy, nullable) NSArray *badPlanId

Discussion

From BlinkUpError BlinkUpErrorPlanIDInvalid

Declared In

BUErrorStringParameters.h

  badSetupToken

From BlinkUpError BlinkUpErrorSetupTokenInvalid

@property (nonatomic, copy, nullable) NSArray *badSetupToken

Discussion

From BlinkUpError BlinkUpErrorSetupTokenInvalid

Declared In

BUErrorStringParameters.h

  emptySsid

From BlinkUpError BlinkUpErrorSSIDNotSet

@property (nonatomic, copy, nullable) NSArray *emptySsid

Discussion

From BlinkUpError BlinkUpErrorSSIDNotSet

Declared In

BUErrorStringParameters.h

  failedGettingPlanIdFromServer

From BlinkUpError BlinkUpErrorPlanIDRetrievalFailed

@property (nonatomic, copy, nullable) NSArray *failedGettingPlanIdFromServer

Discussion

From BlinkUpError BlinkUpErrorPlanIDRetrievalFailed

Declared In

BUErrorStringParameters.h

  networkErrorDuringImpPoll

From BlinkUpError BlinkUpErrorNetworkError

@property (nonatomic, copy, nullable) NSArray *networkErrorDuringImpPoll

Discussion

From BlinkUpError BlinkUpErrorNetworkError

Declared In

BUErrorStringParameters.h

  setupTokenFailure

From BlinkUpError BlinkUpErrorSetupTokenRetrievalFailed

@property (nonatomic, copy, nullable) NSArray *setupTokenFailure

Discussion

From BlinkUpError BlinkUpErrorSetupTokenRetrievalFailed

Declared In

BUErrorStringParameters.h