summaryrefslogtreecommitdiff
path: root/StoneIsland/platforms/ios/Pods/GGLInstanceID/Headers/Public/GGLInstanceIDConfig.h
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2017-10-26 01:41:16 +0200
committerJules Laplace <julescarbon@gmail.com>2017-10-26 01:41:16 +0200
commit8dae6a5044f9c1b7a8497cc1c96155fd262b40cf (patch)
tree6f546503efcb198a193f919efafb83977abb9535 /StoneIsland/platforms/ios/Pods/GGLInstanceID/Headers/Public/GGLInstanceIDConfig.h
parent531c60ee7ecbee516812d560b63a8317c3cf3590 (diff)
iphone x fixes
Diffstat (limited to 'StoneIsland/platforms/ios/Pods/GGLInstanceID/Headers/Public/GGLInstanceIDConfig.h')
-rw-r--r--StoneIsland/platforms/ios/Pods/GGLInstanceID/Headers/Public/GGLInstanceIDConfig.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/StoneIsland/platforms/ios/Pods/GGLInstanceID/Headers/Public/GGLInstanceIDConfig.h b/StoneIsland/platforms/ios/Pods/GGLInstanceID/Headers/Public/GGLInstanceIDConfig.h
new file mode 100644
index 00000000..da885569
--- /dev/null
+++ b/StoneIsland/platforms/ios/Pods/GGLInstanceID/Headers/Public/GGLInstanceIDConfig.h
@@ -0,0 +1,32 @@
+@protocol GGLInstanceIDDelegate;
+
+typedef NS_ENUM(int8_t, GGLInstanceIDLogLevel) {
+ kGGLInstanceIDLogLevelDebug,
+ kGGLInstanceIDLogLevelInfo,
+ kGGLInstanceIDLogLevelError,
+ kGGLInstanceIDLogLevelAssert,
+};
+
+/**
+ * The config used to configure different options in GGLInstanceID library.
+ */
+@interface GGLInstanceIDConfig : NSObject <NSCopying, NSMutableCopying>
+
+/**
+ * Set the GGLInstanceIDDelegate to receive callbacks.
+ *
+ * @see GGLInstanceIDDelegate
+ */
+@property(nonatomic, readwrite, weak) id<GGLInstanceIDDelegate> delegate;
+
+// the log level for the GGLInstanceID library.
+@property(nonatomic, readwrite, assign) GGLInstanceIDLogLevel logLevel;
+
+/**
+ * Initialize a default config with logLevel set to `kGGLInstanceIDLogLevelError`.
+ *
+ * @return A default config for GGLInstanceID.
+ */
++ (instancetype)defaultConfig;
+
+@end