FMIceLinkLayoutManager Class Reference
Inherits from | FMIceLinkLayoutPreset : FMIceLinkDynamic : FMIceLinkSerializable : NSObject |
---|---|
Conforms to | T __covariant |
Declared in | FMIceLinkLayoutManager.h FMIceLinkLayoutManager.m |
– addOnLayout:
- (void)addOnLayout:(FMIceLinkAction1<FMIceLinkLayout*> *)value
Discussion
Declared In
FMIceLinkLayoutManager.h
– addOnLayoutWithBlock
- (void ( ^ ) ( void ( ^ ) ( FMIceLinkLayout *) ))addOnLayoutWithBlock
Discussion
Declared In
FMIceLinkLayoutManager.h
– addOnLayoutWithBlock:
- (void)addOnLayoutWithBlock:(void ( ^ ) ( FMIceLinkLayout *))valueBlock
Discussion
Declared In
FMIceLinkLayoutManager.h
– addRemoteMedia:
- (bool)addRemoteMedia:(NSObject<FMIceLinkIViewableMedia> *)remoteMedia
Parameters
remoteMedia |
The remote media. |
---|
Return Value
true if successful; otherwise, false.
Discussion
Declared In
FMIceLinkLayoutManager.h
– addRemoteViewsWithIds:views:
- (bool)addRemoteViewsWithIds:(NSMutableArray *)ids views:(NSMutableArray *)views
Parameters
ids |
The remote view IDs. |
---|---|
views |
The remote views. |
Return Value
true if successful; otherwise, false. Check the logs for additional information.
Discussion
Declared In
FMIceLinkLayoutManager.h
– addRemoteViewWithId:view:
- (bool)addRemoteViewWithId:(NSString *)idValue view:(T)view
Parameters
idValue |
The remote view ID. |
---|---|
view |
The remote view. |
Return Value
true if successful; otherwise, false. Check the logs for additional information.
Discussion
Declared In
FMIceLinkLayoutManager.h
– addView:
- (void)addView:(T)view
Parameters
view |
The view to add. |
---|
Discussion
Declared In
FMIceLinkLayoutManager.h
– dispatchToMainThreadWithAction:arg1:arg2:
- (void)dispatchToMainThreadWithAction:(FMIceLinkAction2<id,id> *)action arg1:(id)arg1 arg2:(id)arg2
Parameters
action |
The action to invoke. |
---|---|
arg1 |
The first argument. |
arg2 |
The second argument. |
Discussion
Declared In
FMIceLinkLayoutManager.h
– dispatchToMainThreadWithActionBlock:arg1:arg2:
- (void)dispatchToMainThreadWithActionBlock:(void ( ^ ) ( id , id ))actionBlock arg1:(id)arg1 arg2:(id)arg2
Parameters
actionBlock |
The action to invoke. |
---|---|
arg1 |
The first argument. |
arg2 |
The second argument. |
Discussion
Declared In
FMIceLinkLayoutManager.h
– dispatchToMainThreadWithActionBlockAndArg1AndArg2
@inlineparam actionBlock The action to invoke. @inlineparam arg1 The first argument. @inlineparam arg2 The second argument.
- (void ( ^ ) ( void ( ^ ) ( id , id ) , id , id ))dispatchToMainThreadWithActionBlockAndArg1AndArg2
Discussion
@inlineparam actionBlock The action to invoke. @inlineparam arg1 The first argument. @inlineparam arg2 The second argument.
Declared In
FMIceLinkLayoutManager.h
– getLayoutWithLayoutWidth:layoutHeight:remoteCount:
- (FMIceLinkLayout *)getLayoutWithLayoutWidth:(int)layoutWidth layoutHeight:(int)layoutHeight remoteCount:(int)remoteCount
Parameters
layoutWidth |
The total width of the layout. |
---|---|
layoutHeight |
The total height of the layout. |
remoteCount |
The number of remote frames. |
Return Value
The video frame layout.
Discussion
Declared In
FMIceLinkLayoutManager.h
– getLayoutWithLayoutWidth:layoutHeight:remoteCount:remoteViewIds:
- (FMIceLinkLayout *)getLayoutWithLayoutWidth:(int)layoutWidth layoutHeight:(int)layoutHeight remoteCount:(int)remoteCount remoteViewIds:(NSMutableArray *)remoteViewIds
Parameters
layoutWidth |
The total width of the layout. |
---|---|
layoutHeight |
The total height of the layout. |
remoteCount |
The number of remote frames. |
remoteViewIds |
The array of remote view ids. |
Return Value
The video frame layout.
Discussion
Declared In
FMIceLinkLayoutManager.h
– getLocalView
- (T)getLocalView
Return Value
The local view.
Discussion
Declared In
FMIceLinkLayoutManager.h
– getRemoteViewIds
- (NSMutableArray *)getRemoteViewIds
Return Value
The remote view IDs.
Discussion
Declared In
FMIceLinkLayoutManager.h
– getRemoteViews
- (NSMutableArray<T> *)getRemoteViews
Return Value
The remote views.
Discussion
Declared In
FMIceLinkLayoutManager.h
– getRemoteViewsWithIds:
- (NSMutableArray<T> *)getRemoteViewsWithIds:(NSMutableArray *)ids
Parameters
ids |
The remote view IDs. |
---|
Return Value
The remote views.
Discussion
Declared In
FMIceLinkLayoutManager.h
– getRemoteViewWithId:
- (T)getRemoteViewWithId:(NSString *)idValue
Parameters
idValue |
The remote view ID. |
---|
Return Value
The remote view.
Discussion
Declared In
FMIceLinkLayoutManager.h
– init
- (instancetype)init
Discussion
Declared In
FMIceLinkLayoutManager.h
– initWithPreset:
- (instancetype)initWithPreset:(FMIceLinkLayoutPreset *)preset
Discussion
Declared In
FMIceLinkLayoutManager.h
– layout
- (void)layout
Discussion
Declared In
FMIceLinkLayoutManager.h
+ layoutManager
+ (FMIceLinkLayoutManager *)layoutManager
Discussion
Declared In
FMIceLinkLayoutManager.h
+ layoutManagerWithPreset:
+ (FMIceLinkLayoutManager *)layoutManagerWithPreset:(FMIceLinkLayoutPreset *)preset
Discussion
Declared In
FMIceLinkLayoutManager.h
– layoutOnMainThread
- (void)layoutOnMainThread
Discussion
Declared In
FMIceLinkLayoutManager.h
– layoutOrigin
- (FMIceLinkLayoutOrigin)layoutOrigin
Discussion
Declared In
FMIceLinkLayoutManager.h
– removeOnLayout:
- (void)removeOnLayout:(FMIceLinkAction1<FMIceLinkLayout*> *)value
Discussion
Declared In
FMIceLinkLayoutManager.h
– removeRemoteMedia:
- (bool)removeRemoteMedia:(NSObject<FMIceLinkIViewableMedia> *)remoteMedia
Parameters
remoteMedia |
The remote media. |
---|
Return Value
true if successful; otherwise, false.
Discussion
Declared In
FMIceLinkLayoutManager.h
– removeRemoteViews
- (void)removeRemoteViews
Discussion
Declared In
FMIceLinkLayoutManager.h
– removeRemoteViewsWithIds:
- (bool)removeRemoteViewsWithIds:(NSMutableArray *)ids
Parameters
ids |
The remote view IDs. |
---|
Return Value
true if successful; otherwise, false. Check the logs for additional information.
Discussion
Declared In
FMIceLinkLayoutManager.h
– removeRemoteViewWithId:
- (bool)removeRemoteViewWithId:(NSString *)idValue
Parameters
idValue |
The remote view ID. |
---|
Return Value
true if successful; otherwise, false. Check the logs for additional information.
Discussion
Declared In
FMIceLinkLayoutManager.h
– removeView:
- (void)removeView:(T)view
Parameters
view |
The view to remove. |
---|
Discussion
Declared In
FMIceLinkLayoutManager.h
– reset
- (void)reset
Discussion
Declared In
FMIceLinkLayoutManager.h
– setLayoutOrigin:
- (void)setLayoutOrigin:(FMIceLinkLayoutOrigin)value
Discussion
Declared In
FMIceLinkLayoutManager.h
– setLocalMedia:
- (bool)setLocalMedia:(NSObject<FMIceLinkIViewableMedia> *)localMedia
Parameters
localMedia |
The local media. |
---|
Return Value
true if successful; otherwise, false.
Discussion
Declared In
FMIceLinkLayoutManager.h
– setLocalView:
- (bool)setLocalView:(T)view
Parameters
view |
The local view. |
---|
Return Value
true if successful; otherwise, false. Check the logs for additional information.
Discussion
Declared In
FMIceLinkLayoutManager.h
– swapRemoteMediaWithRemoteMediaToRemove:remoteMediaToAdd:
- (bool)swapRemoteMediaWithRemoteMediaToRemove:(NSObject<FMIceLinkIViewableMedia> *)remoteMediaToRemove remoteMediaToAdd:(NSObject<FMIceLinkIViewableMedia> *)remoteMediaToAdd
Parameters
remoteMediaToRemove |
The remote media to remove. |
---|---|
remoteMediaToAdd |
The remote media to add. @return |
Discussion
Declared In
FMIceLinkLayoutManager.h
– swapRemoteViewsWithIdsToRemove:idsToAdd:viewsToAdd:
- (bool)swapRemoteViewsWithIdsToRemove:(NSMutableArray *)idsToRemove idsToAdd:(NSMutableArray *)idsToAdd viewsToAdd:(NSMutableArray *)viewsToAdd
Parameters
idsToRemove |
The remote view IDs to remove. |
---|---|
idsToAdd |
The remote view IDs to add. |
viewsToAdd |
The remote views to add. |
Return Value
true if successful; otherwise, false. Check the logs for additional information.
Discussion
Declared In
FMIceLinkLayoutManager.h
– swapRemoteViewWithIdToRemove:idToAdd:viewToAdd:
- (bool)swapRemoteViewWithIdToRemove:(NSString *)idToRemove idToAdd:(NSString *)idToAdd viewToAdd:(T)viewToAdd
Parameters
idToRemove |
The remote view ID to remove. |
---|---|
idToAdd |
The remote view ID to add. |
viewToAdd |
The remote view to add. @return |
Discussion
Declared In
FMIceLinkLayoutManager.h
– unsetLocalView
- (bool)unsetLocalView
Return Value
true if successful; otherwise, false. Check the logs for additional information.
Discussion
Declared In
FMIceLinkLayoutManager.h