"Fossies" - the Fresh Open Source Software Archive

Member "jitsi-meet-5186/ios/sdk/src/JitsiMeetConferenceOptions.h" (30 Jul 2021, 3530 Bytes) of package /linux/misc/jitsi-meet-5186.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 /*
    2  * Copyright @ 2019-present 8x8, Inc.
    3  *
    4  * Licensed under the Apache License, Version 2.0 (the "License");
    5  * you may not use this file except in compliance with the License.
    6  * You may obtain a copy of the License at
    7  *
    8  *     http://www.apache.org/licenses/LICENSE-2.0
    9  *
   10  * Unless required by applicable law or agreed to in writing, software
   11  * distributed under the License is distributed on an "AS IS" BASIS,
   12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   13  * See the License for the specific language governing permissions and
   14  * limitations under the License.
   15  */
   16 
   17 #import <Foundation/Foundation.h>
   18 
   19 #import "JitsiMeetUserInfo.h"
   20 
   21 
   22 @interface JitsiMeetConferenceOptionsBuilder : NSObject
   23 
   24 /**
   25  * Server where the conference should take place.
   26  */
   27 @property (nonatomic, copy, nullable) NSURL *serverURL;
   28 /**
   29  * Room name.
   30  */
   31 @property (nonatomic, copy, nullable) NSString *room;
   32 /**
   33  * Conference subject.
   34  */
   35 @property (nonatomic, copy, nullable) NSString *subject;
   36 /**
   37  * JWT token used for authentication.
   38  */
   39 @property (nonatomic, copy, nullable) NSString *token;
   40 
   41 /**
   42  * Color scheme override, see:
   43  * https://github.com/jitsi/jitsi-meet/blob/master/react/features/base/color-scheme/defaultScheme.js
   44  */
   45 @property (nonatomic, copy, nullable) NSDictionary *colorScheme;
   46 
   47 /**
   48  * Feature flags. See: https://github.com/jitsi/jitsi-meet/blob/master/react/features/base/flags/constants.js
   49  */
   50 @property (nonatomic, readonly, nonnull) NSDictionary *featureFlags;
   51 
   52 /**
   53  * Set to YES to join the conference with audio / video muted or to start in audio
   54  * only mode respectively.
   55  */
   56 @property (nonatomic) BOOL audioOnly;
   57 @property (nonatomic) BOOL audioMuted;
   58 @property (nonatomic) BOOL videoMuted;
   59 
   60 /**
   61  * Set to YES to enable the welcome page. Typically SDK users won't need this enabled
   62  * since the host application decides which meeting to join.
   63  */
   64 @property (nonatomic) BOOL welcomePageEnabled;
   65 
   66 /**
   67  * Information about the local user. It will be used in absence of a token.
   68  */
   69 @property (nonatomic, nullable) JitsiMeetUserInfo *userInfo;
   70 
   71 - (void)setFeatureFlag:(NSString *_Nonnull)flag withBoolean:(BOOL)value;
   72 - (void)setFeatureFlag:(NSString *_Nonnull)flag withValue:(id _Nonnull)value;
   73 
   74 /**
   75  * CallKit call handle, to be used when implementing incoming calls.
   76  */
   77 @property (nonatomic, copy, nullable) NSString *callHandle;
   78 
   79 /**
   80  * CallKit call UUID, to be used when implementing incoming calls.
   81  */
   82 @property (nonatomic, copy, nullable) NSUUID *callUUID;
   83 
   84 @end
   85 
   86 @interface JitsiMeetConferenceOptions : NSObject
   87 
   88 @property (nonatomic, copy, nullable, readonly) NSURL *serverURL;
   89 
   90 @property (nonatomic, copy, nullable, readonly) NSString *room;
   91 @property (nonatomic, copy, nullable, readonly) NSString *subject;
   92 @property (nonatomic, copy, nullable, readonly) NSString *token;
   93 
   94 @property (nonatomic, copy, nullable) NSDictionary *colorScheme;
   95 @property (nonatomic, readonly, nonnull) NSDictionary *featureFlags;
   96 
   97 @property (nonatomic, readonly) BOOL audioOnly;
   98 @property (nonatomic, readonly) BOOL audioMuted;
   99 @property (nonatomic, readonly) BOOL videoMuted;
  100 
  101 @property (nonatomic, readonly) BOOL welcomePageEnabled;
  102 
  103 @property (nonatomic, nullable) JitsiMeetUserInfo *userInfo;
  104 
  105 @property (nonatomic, copy, nullable, readonly) NSString *callHandle;
  106 @property (nonatomic, copy, nullable, readonly) NSUUID *callUUID;
  107 
  108 + (instancetype _Nonnull)fromBuilder:(void (^_Nonnull)(JitsiMeetConferenceOptionsBuilder *_Nonnull))initBlock;
  109 - (instancetype _Nonnull)init NS_UNAVAILABLE;
  110 
  111 @end