Banuba SDK
libs
djinni
generated
objc
BNBLicenseManager.h
Go to the documentation of this file.
1
// AUTOGENERATED FILE - DO NOT MODIFY!
2
// This file was generated by Djinni from license_utils.djinni
3
4
#import "
BNBLicenseStatus.h
"
5
#import <Foundation/Foundation.h>
6
@class
BNBLicenseManager
;
7
8
9
/** This class incapsulates information about Client Token. */
10
11
#ifndef DJINNI_EXPORT
12
#define DJINNI_EXPORT __attribute__((__visibility__("default")))
13
#endif
14
15
DJINNI_EXPORT
16
@interface
BNBLicenseManager
: NSObject
17
18
/** Creates *new* `LicenceManager`. This metod won't change Banuba SDK internal state. */
19
+ (nullable
BNBLicenseManager
*)create:(nonnull NSString *)clientToken;
20
21
/**
22
* Returns the instance used by Banuba SDK to check licence.
23
* This istance was created by `UtilityManager.initialize`.
24
*/
25
+ (nullable
BNBLicenseManager
*)
instance
;
26
27
/** Checks if Client Token is expired. */
28
- (BNBLicenseStatus)
isExpired
;
29
30
/** Returns decoded content of Client Token */
31
- (nonnull NSString *)
getJson
;
32
33
/** Returns hash of Client Token */
34
- (nonnull NSString *)
getChecksum
;
35
36
@end
-[BNBLicenseManager getChecksum]
nonnull NSString * getChecksum()
Returns hash of Client Token.
+[BNBLicenseManager instance]
nullable BNBLicenseManager * instance()
Returns the instance used by Banuba SDK to check licence.
-[BNBLicenseManager isExpired]
BNBLicenseStatus isExpired()
Checks if Client Token is expired.
BNBLicenseManager
Definition:
BNBLicenseManager.h:16
-[BNBLicenseManager getJson]
nonnull NSString * getJson()
Returns decoded content of Client Token.
BNBLicenseStatus.h
DJINNI_EXPORT
#define DJINNI_EXPORT
This class incapsulates information about Client Token.
Definition:
BNBLicenseManager.h:12
Generated by
1.8.17