To use Rave App Data Keys you must register to be a
bfgRaveAppDataKeyDelegate.
More...#import <bfgRave.h>
To use Rave App Data Keys you must register to be a
bfgRaveAppDataKeyDelegate.
- Since
- 6.2.0
- Note
- There are some offline cases when the app data key will not be current. Going online will resolve this.
◆ bfgRaveAppDataKeyDidChange:previousKey:
- (void) bfgRaveAppDataKeyDidChange: | | (NSString *_Nonnull) | currentAppDataKey | previousKey: | | (NSString *_Nullable) | previousKey | | | | |
| required |
Informs the delegate that the App Data Key changed.
- Parameters
currentAppDataKey | The current app data key selected for this application and user. |
previousKey | The previous app data key before the change. |
- Since
- 6.2.0
◆ bfgRaveAppDataKeyDidReturnUnresolvedKeys:currentAppDataKey:
- (void) bfgRaveAppDataKeyDidReturnUnresolvedKeys: | | (NSArray< NSString * > *_Nonnull) | unresolvedKeys | currentAppDataKey: | | (NSString *_Nullable) | currentAppDataKey | | | | |
| required |
Informs the delegate that there are unresolved keys.
- Parameters
unresolvedKeys | The keys that need to be resolved. There will always be zero or two or more. |
currentAppDataKey | The last known selected app data key before conflict. |
- Since
- 6.2.0
◆ bfgRaveFetchCurrentAppDataKeyDidFailWithError:
- (void) bfgRaveFetchCurrentAppDataKeyDidFailWithError: | | (NSError *_Nullable) | error | |
| optional |
Informs the delegate that fetchCurrentAppDataKey failed.
- Note
- In the case where you are offline and have unresolved keys or logged out while offline, calling fetchCurrentAppDataKey will call this method with nil as the error value.
- Parameters
error | The error that was encountered. |
- Since
- 6.2.0
◆ bfgRaveFetchCurrentAppDataKeyDidSucceed:
- (void) bfgRaveFetchCurrentAppDataKeyDidSucceed: | | (NSString *_Nonnull) | currentAppDataKey | |
| optional |
Informs the delegate that fetchCurrentAppDataKey succeeded.
- Parameters
currentAppDataKey | The current app data key returned by Rave. |
- Since
- 6.2.0
◆ bfgRaveSelectAppDataKeyDidFailWithError:
- (void) bfgRaveSelectAppDataKeyDidFailWithError: | | (NSError *_Nonnull) | error | |
| required |
Informs the delegate that selectRaveAppDataKey: failed.
- Parameters
error | The error that was encountered. |
- Since
- 6.2.0
◆ bfgRaveSelectAppDataKeyDidSucceed
- (void) bfgRaveSelectAppDataKeyDidSucceed | | | |
| required |
Informs the delegate that selectRaveAppDataKey: succeeded.
- Since
- 6.2.0