Skip to content

Commit 61abe5b

Browse files
committedJul 17, 2019
Added Call SDK
1 parent 36b966e commit 61abe5b

12 files changed

+259
-0
lines changed
 

‎ChannelizeCall.podspec

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
Pod::Spec.new do |s|
2+
3+
s.name = "ChannelizeCall"
4+
s.version = "4.0.0"
5+
s.summary = "Channelize Call SDK"
6+
s.description = "A Video and Audio call SDK using Channelize API SDK"
7+
s.homepage = "https://channelize.io/"
8+
s.license = { :type => "GPL", :file => "LICENSE" }
9+
s.author = { "Channelize" => "support@channelize.io" }
10+
s.platform = :ios, "9.0"
11+
s.swift_version = "4.2"
12+
s.source = { :git => "https://github.com/ChannelizeIO/Channelize-iOS.git", :tag => "#{s.version}", :branch => "master" }
13+
s.vendored_frameworks = "Channelize_API.framework"
14+
s.dependency "AgoraRtcEngine_iOS", "2.3.1"
15+
s.dependency "SDWebImage/GIF", "4.4.3"
16+
end
17+
91.7 KB
Binary file not shown.
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,212 @@
1+
// Generated by Apple Swift version 4.2.1 (swiftlang-1000.11.42 clang-1000.11.45.1)
2+
#pragma clang diagnostic push
3+
#pragma clang diagnostic ignored "-Wgcc-compat"
4+
5+
#if !defined(__has_include)
6+
# define __has_include(x) 0
7+
#endif
8+
#if !defined(__has_attribute)
9+
# define __has_attribute(x) 0
10+
#endif
11+
#if !defined(__has_feature)
12+
# define __has_feature(x) 0
13+
#endif
14+
#if !defined(__has_warning)
15+
# define __has_warning(x) 0
16+
#endif
17+
18+
#if __has_include(<swift/objc-prologue.h>)
19+
# include <swift/objc-prologue.h>
20+
#endif
21+
22+
#pragma clang diagnostic ignored "-Wauto-import"
23+
#include <objc/NSObject.h>
24+
#include <stdint.h>
25+
#include <stddef.h>
26+
#include <stdbool.h>
27+
28+
#if !defined(SWIFT_TYPEDEFS)
29+
# define SWIFT_TYPEDEFS 1
30+
# if __has_include(<uchar.h>)
31+
# include <uchar.h>
32+
# elif !defined(__cplusplus)
33+
typedef uint_least16_t char16_t;
34+
typedef uint_least32_t char32_t;
35+
# endif
36+
typedef float swift_float2 __attribute__((__ext_vector_type__(2)));
37+
typedef float swift_float3 __attribute__((__ext_vector_type__(3)));
38+
typedef float swift_float4 __attribute__((__ext_vector_type__(4)));
39+
typedef double swift_double2 __attribute__((__ext_vector_type__(2)));
40+
typedef double swift_double3 __attribute__((__ext_vector_type__(3)));
41+
typedef double swift_double4 __attribute__((__ext_vector_type__(4)));
42+
typedef int swift_int2 __attribute__((__ext_vector_type__(2)));
43+
typedef int swift_int3 __attribute__((__ext_vector_type__(3)));
44+
typedef int swift_int4 __attribute__((__ext_vector_type__(4)));
45+
typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2)));
46+
typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3)));
47+
typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
48+
#endif
49+
50+
#if !defined(SWIFT_PASTE)
51+
# define SWIFT_PASTE_HELPER(x, y) x##y
52+
# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
53+
#endif
54+
#if !defined(SWIFT_METATYPE)
55+
# define SWIFT_METATYPE(X) Class
56+
#endif
57+
#if !defined(SWIFT_CLASS_PROPERTY)
58+
# if __has_feature(objc_class_property)
59+
# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
60+
# else
61+
# define SWIFT_CLASS_PROPERTY(...)
62+
# endif
63+
#endif
64+
65+
#if __has_attribute(objc_runtime_name)
66+
# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
67+
#else
68+
# define SWIFT_RUNTIME_NAME(X)
69+
#endif
70+
#if __has_attribute(swift_name)
71+
# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
72+
#else
73+
# define SWIFT_COMPILE_NAME(X)
74+
#endif
75+
#if __has_attribute(objc_method_family)
76+
# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
77+
#else
78+
# define SWIFT_METHOD_FAMILY(X)
79+
#endif
80+
#if __has_attribute(noescape)
81+
# define SWIFT_NOESCAPE __attribute__((noescape))
82+
#else
83+
# define SWIFT_NOESCAPE
84+
#endif
85+
#if __has_attribute(warn_unused_result)
86+
# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
87+
#else
88+
# define SWIFT_WARN_UNUSED_RESULT
89+
#endif
90+
#if __has_attribute(noreturn)
91+
# define SWIFT_NORETURN __attribute__((noreturn))
92+
#else
93+
# define SWIFT_NORETURN
94+
#endif
95+
#if !defined(SWIFT_CLASS_EXTRA)
96+
# define SWIFT_CLASS_EXTRA
97+
#endif
98+
#if !defined(SWIFT_PROTOCOL_EXTRA)
99+
# define SWIFT_PROTOCOL_EXTRA
100+
#endif
101+
#if !defined(SWIFT_ENUM_EXTRA)
102+
# define SWIFT_ENUM_EXTRA
103+
#endif
104+
#if !defined(SWIFT_CLASS)
105+
# if __has_attribute(objc_subclassing_restricted)
106+
# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
107+
# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
108+
# else
109+
# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
110+
# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
111+
# endif
112+
#endif
113+
114+
#if !defined(SWIFT_PROTOCOL)
115+
# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
116+
# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
117+
#endif
118+
119+
#if !defined(SWIFT_EXTENSION)
120+
# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
121+
#endif
122+
123+
#if !defined(OBJC_DESIGNATED_INITIALIZER)
124+
# if __has_attribute(objc_designated_initializer)
125+
# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
126+
# else
127+
# define OBJC_DESIGNATED_INITIALIZER
128+
# endif
129+
#endif
130+
#if !defined(SWIFT_ENUM_ATTR)
131+
# if defined(__has_attribute) && __has_attribute(enum_extensibility)
132+
# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
133+
# else
134+
# define SWIFT_ENUM_ATTR(_extensibility)
135+
# endif
136+
#endif
137+
#if !defined(SWIFT_ENUM)
138+
# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
139+
# if __has_feature(generalized_swift_name)
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
141+
# else
142+
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
143+
# endif
144+
#endif
145+
#if !defined(SWIFT_UNAVAILABLE)
146+
# define SWIFT_UNAVAILABLE __attribute__((unavailable))
147+
#endif
148+
#if !defined(SWIFT_UNAVAILABLE_MSG)
149+
# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg)))
150+
#endif
151+
#if !defined(SWIFT_AVAILABILITY)
152+
# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
153+
#endif
154+
#if !defined(SWIFT_DEPRECATED)
155+
# define SWIFT_DEPRECATED __attribute__((deprecated))
156+
#endif
157+
#if !defined(SWIFT_DEPRECATED_MSG)
158+
# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
159+
#endif
160+
#if __has_feature(attribute_diagnose_if_objc)
161+
# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
162+
#else
163+
# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
164+
#endif
165+
#if __has_feature(modules)
166+
@import CallKit;
167+
@import ObjectiveC;
168+
@import UIKit;
169+
#endif
170+
171+
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
172+
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
173+
#if __has_warning("-Wpragma-clang-attribute")
174+
# pragma clang diagnostic ignored "-Wpragma-clang-attribute"
175+
#endif
176+
#pragma clang diagnostic ignored "-Wunknown-pragmas"
177+
#pragma clang diagnostic ignored "-Wnullability"
178+
179+
#if __has_attribute(external_source_symbol)
180+
# pragma push_macro("any")
181+
# undef any
182+
# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="Channelize_Voice_Video",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
183+
# pragma pop_macro("any")
184+
#endif
185+
186+
@class CXProvider;
187+
@class CXEndCallAction;
188+
@class CXAnswerCallAction;
189+
@class CXStartCallAction;
190+
@class CXSetMutedCallAction;
191+
192+
SWIFT_CLASS("_TtC22Channelize_Voice_Video12CallProvider")
193+
@interface CallProvider : NSObject <CXProviderDelegate>
194+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
195+
+ (nonnull instancetype)new SWIFT_DEPRECATED_MSG("-init is unavailable");
196+
- (void)providerDidReset:(CXProvider * _Nonnull)provider;
197+
- (void)provider:(CXProvider * _Nonnull)provider performEndCallAction:(CXEndCallAction * _Nonnull)action;
198+
- (void)provider:(CXProvider * _Nonnull)provider performAnswerCallAction:(CXAnswerCallAction * _Nonnull)action;
199+
- (void)provider:(CXProvider * _Nonnull)provider performStartCallAction:(CXStartCallAction * _Nonnull)action;
200+
- (void)provider:(CXProvider * _Nonnull)provider performSetMutedCallAction:(CXSetMutedCallAction * _Nonnull)action;
201+
@end
202+
203+
204+
205+
206+
207+
208+
209+
#if __has_attribute(external_source_symbol)
210+
# pragma clang attribute pop
211+
#endif
212+
#pragma clang diagnostic pop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
//
2+
// Channelize_Voice_Video.h
3+
// Channelize_Voice_Video
4+
//
5+
// Created by Ashish-BigStep on 4/3/19.
6+
// Copyright © 2019 Channelize. All rights reserved.
7+
//
8+
9+
#import <UIKit/UIKit.h>
10+
11+
//! Project version number for Channelize_Voice_Video.
12+
FOUNDATION_EXPORT double Channelize_Voice_VideoVersionNumber;
13+
14+
//! Project version string for Channelize_Voice_Video.
15+
FOUNDATION_EXPORT const unsigned char Channelize_Voice_VideoVersionString[];
16+
17+
// In this header, you should import all the public headers of your framework using statements like #import <Channelize_Voice_Video/PublicHeader.h>
18+
19+
735 Bytes
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
framework module Channelize_Voice_Video {
2+
umbrella header "Channelize_Voice_Video.h"
3+
4+
export *
5+
module * { export * }
6+
}
7+
8+
module Channelize_Voice_Video.Swift {
9+
header "Channelize_Voice_Video-Swift.h"
10+
requires objc
11+
}
1.45 KB
Loading

0 commit comments

Comments
 (0)
Please sign in to comment.