Skip to content

Commit e0e2834

Browse files
author
Bitrise Bot
committed
New release 3.2
1 parent 37a6439 commit e0e2834

File tree

22 files changed

+450
-414
lines changed

22 files changed

+450
-414
lines changed

.swift-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.1
1+
4.2
-503 KB
Binary file not shown.

Beaconstac/Beaconstac.framework/Headers/Beaconstac-Swift.h

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Generated by Apple Swift version 4.1.2 (swiftlang-902.0.54 clang-902.0.39.2)
1+
// Generated by Apple Swift version 4.2 (swiftlang-1000.11.37.1 clang-1000.11.45.1)
22
#pragma clang diagnostic push
33
#pragma clang diagnostic ignored "-Wgcc-compat"
44

@@ -129,17 +129,17 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
129129
#endif
130130
#if !defined(SWIFT_ENUM_ATTR)
131131
# if defined(__has_attribute) && __has_attribute(enum_extensibility)
132-
# define SWIFT_ENUM_ATTR __attribute__((enum_extensibility(open)))
132+
# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
133133
# else
134-
# define SWIFT_ENUM_ATTR
134+
# define SWIFT_ENUM_ATTR(_extensibility)
135135
# endif
136136
#endif
137137
#if !defined(SWIFT_ENUM)
138-
# define SWIFT_ENUM(_type, _name) enum _name : _type _name; enum SWIFT_ENUM_ATTR SWIFT_ENUM_EXTRA _name : _type
138+
# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
139139
# if __has_feature(generalized_swift_name)
140-
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR SWIFT_ENUM_EXTRA _name : _type
140+
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
141141
# else
142-
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME) SWIFT_ENUM(_type, _name)
142+
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
143143
# endif
144144
#endif
145145
#if !defined(SWIFT_UNAVAILABLE)
@@ -203,7 +203,7 @@ SWIFT_PROTOCOL("_TtP10Beaconstac14BeaconDelegate_")
203203
- (void)didExitRegion:(Beaconstac * _Nonnull)beaconstac region:(NSString * _Nonnull)region;
204204
@end
205205

206-
typedef SWIFT_ENUM(NSInteger, BeaconHardwareType) {
206+
typedef SWIFT_ENUM(NSInteger, BeaconHardwareType, closed) {
207207
BeaconHardwareTypeUnknown = 0,
208208
BeaconHardwareTypeIndoor = 1,
209209
BeaconHardwareTypeOutdoor = 2,
@@ -212,7 +212,7 @@ typedef SWIFT_ENUM(NSInteger, BeaconHardwareType) {
212212
BeaconHardwareTypeLongrange = 5,
213213
};
214214

215-
typedef SWIFT_ENUM(NSInteger, BeaconState) {
215+
typedef SWIFT_ENUM(NSInteger, BeaconState, closed) {
216216
BeaconStateActive = 0,
217217
BeaconStateSleeping = 1,
218218
};
@@ -312,7 +312,7 @@ SWIFT_CLASS("_TtC10Beaconstac10Beaconstac")
312312
@end
313313

314314
/// Error codes if any error occurs inside SDK, the domain name is com.beaconstac.sdk.error
315-
typedef SWIFT_ENUM(NSInteger, BeaconstacSDKError) {
315+
typedef SWIFT_ENUM(NSInteger, BeaconstacSDKError, closed) {
316316
/// Indicate that the SDK is not configured yet for you to use.
317317
BeaconstacSDKErrorSDKNotInitialized = -1001,
318318
/// If the app doesn’t have authorization to use bluetooth or the Bluetooth is disabled in the Device.
@@ -347,7 +347,7 @@ typedef SWIFT_ENUM(NSInteger, BeaconstacSDKError) {
347347
BeaconstacSDKErrorInvalidRequest = -1016,
348348
};
349349

350-
typedef SWIFT_ENUM(int64_t, LatchLatency) {
350+
typedef SWIFT_ENUM(int64_t, LatchLatency, closed) {
351351
LatchLatencyLOW = 3,
352352
LatchLatencyMEDIUM = 5,
353353
LatchLatencyHIGH = 7,
@@ -577,7 +577,7 @@ SWIFT_PROTOCOL("_TtP10Beaconstac15WebhookDelegate_")
577577
@end
578578

579579
/// The iBeaconOption specifies how the SDK monitors and ranges beacon.
580-
typedef SWIFT_ENUM(NSInteger, iBeaconOption) {
580+
typedef SWIFT_ENUM(NSInteger, iBeaconOption, closed) {
581581
/// This ranges beacons in background only if the display wakes up. Requires always location Authorization
582582
iBeaconOptionBackgroundRangeOnDisplayWakeUp = 0,
583583
/// This ranges beacons only in foreground, requires when in use location Authorization
-1 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)