SwiftinitConversationKitConversationKit.ParticipantViewModel
init
ConversationKit.ParticipantViewModel.init(participant: ConversationKit.Participant, videoProviderType: ConversationKit.Participant.VideoProviderType, isInGrid: Bool, isMostActive: Bool, isPipped: Bool, isPreviewingReaction: Bool, hasOtherInvitedParticipants: Bool, isLocalMemberAuthorizedToChangeGroupMembership: Bool, prefersSnapshotFadeAnimation: Bool, snapshotImage: UIImage?, allowsVideoCroppedByAspectRatio: Bool, shouldRegisterVideoLayers: Bool, shouldUseAspectFill: Bool) -> ConversationKit.ParticipantViewModel
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
param{}
- 0participant:
- 1videoProviderType:
- 2isInGrid:structSwift.Bool
- 3isMostActive:structSwift.Bool
- 4isPipped:structSwift.Bool
- 5isPreviewingReaction:structSwift.Bool
- 6hasOtherInvitedParticipants:structSwift.Bool
- 7isLocalMemberAuthorizedToChangeGroupMembership:structSwift.Bool
- 8prefersSnapshotFadeAnimation:structSwift.Bool
- 9snapshotImage:enumSwift.Optional
- 10allowsVideoCroppedByAspectRatio:structSwift.Bool
- 11shouldRegisterVideoLayers:structSwift.Bool
- 12shouldUseAspectFill:structSwift.Bool