"Fossies" - the Fresh Open Source Software Archive

Member "jitsi-meet-6444/ios/sdk/src/JitsiMeetConferenceOptions.h" (8 Aug 2022, 2745 Bytes) of package /linux/misc/jitsi-meet-6444.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  * JWT token used for authentication.
   34  */
   35 @property (nonatomic, copy, nullable) NSString *token;
   36 
   37 /**
   38  * Feature flags. See: https://github.com/jitsi/jitsi-meet/blob/master/react/features/base/flags/constants.js
   39  */
   40 @property (nonatomic, readonly, nonnull) NSDictionary *featureFlags;
   41 
   42 @property (nonatomic, readonly, nonnull) NSDictionary *config;
   43 
   44 /**
   45  * Information about the local user. It will be used in absence of a token.
   46  */
   47 @property (nonatomic, nullable) JitsiMeetUserInfo *userInfo;
   48 
   49 - (void)setFeatureFlag:(NSString *_Nonnull)flag withBoolean:(BOOL)value;
   50 - (void)setFeatureFlag:(NSString *_Nonnull)flag withValue:(id _Nonnull)value;
   51 
   52 - (void)setConfigOverride:(NSString *_Nonnull)config withBoolean:(BOOL)value;
   53 - (void)setConfigOverride:(NSString *_Nonnull)config withValue:(id _Nonnull)value;
   54 - (void)setConfigOverride:(NSString *_Nonnull)config withDictionary:(NSDictionary * _Nonnull)dictionary;
   55 - (void)setConfigOverride:(NSString *_Nonnull)config withArray:( NSArray * _Nonnull)array;
   56 
   57 - (void)setAudioOnly:(BOOL)audioOnly;
   58 - (void)setAudioMuted:(BOOL)audioMuted;
   59 - (void)setVideoMuted:(BOOL)videoMuted;
   60 - (void)setCallHandle:(NSString *_Nonnull)callHandle;
   61 - (void)setCallUUID:(NSUUID *_Nonnull)callUUID;
   62 - (void)setSubject:(NSString *_Nonnull)subject;
   63 
   64 @end
   65 
   66 @interface JitsiMeetConferenceOptions : NSObject
   67 
   68 @property (nonatomic, copy, nullable, readonly) NSURL *serverURL;
   69 
   70 @property (nonatomic, copy, nullable, readonly) NSString *room;
   71 @property (nonatomic, copy, nullable, readonly) NSString *token;
   72 
   73 @property (nonatomic, readonly, nonnull) NSDictionary *featureFlags;
   74 
   75 @property (nonatomic, nullable) JitsiMeetUserInfo *userInfo;
   76 
   77 + (instancetype _Nonnull)fromBuilder:(void (^_Nonnull)(JitsiMeetConferenceOptionsBuilder *_Nonnull))initBlock;
   78 - (instancetype _Nonnull)init NS_UNAVAILABLE;
   79 
   80 @end