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{}

  1. 0participant:
  2. 1videoProviderType:
  3. 2isInGrid:
  4. 3isMostActive:
  5. 4isPipped:
  6. 5isPreviewingReaction:
  7. 6hasOtherInvitedParticipants:
  8. 7isLocalMemberAuthorizedToChangeGroupMembership:
  9. 8prefersSnapshotFadeAnimation:
  10. 9snapshotImage:
  11. 10allowsVideoCroppedByAspectRatio:
  12. 11shouldRegisterVideoLayers:
  13. 12shouldUseAspectFill: