SwiftclassConversationKit
MoreMenuButtonViewModel
@Observable class ConversationKit.MoreMenuButtonViewModel
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolObservation.Observable
Members 25
- deinit
deinit - field
let _$observationRegistrar: Observation.ObservationRegistrar - field
var _cancellables: [Combine.AnyCancellable]+0x28 - field
var _isAddParticipantSheetPresented: Bool+0x11 - field
var _isDisabled: Bool+0x13 - field
var _isMoreMenuPresented: Bool+0x10 - field
var _shouldShowCountdown: Bool+0x12 - field
let countdownViewModel: CommunicationsUI.CountdownView.ViewModel+0x30 - field
let isScreenLocked: Combine.AnyPublisher<Bool, Never> - field
let moreMenuDidTap: (() -> ())?+0x18 - field
let service: ConversationKit.MoreMenuControlsService - func
access<A>(keyPath: KeyPath<ConversationKit.MoreMenuButtonViewModel, A>) -> () - func
config() -> CommunicationsUI.IconButtonConfig<()> - func
didTapAddParticipant(shouldPresent: Bool) -> () - func
didTapMoreMenuButton() -> () - func
enabled(for: ConversationKit.CallControlsInCallContext) -> Bool - func
withMutation<A, B>(keyPath: KeyPath<ConversationKit.MoreMenuButtonViewModel, A>, _: () throws -> B) throws -> B - init
ConversationKit.MoreMenuButtonViewModel.__allocating_init(service: ConversationKit.MoreMenuControlsService, moreMenuDidTap: (() -> ())?, isScreenLocked: Combine.AnyPublisher<Bool, Never>) -> ConversationKit.MoreMenuButtonViewModel - var
final var controlType: ConversationKit.CallControlsType { get } - var
final var conversation: TUConversation? { get } - var
final var ftMenuViewModel: ConversationKit.MoreMenuViewModel? { get } - var
final var isAddParticipantSheetPresented: Bool { get set init } - var
final var isDisabled: Bool { get set init } - var
final var isMoreMenuPresented: Bool { get set init } - var
final var shouldShowCountdown: Bool { get set init }
Header
@Observation.Observable class MoreMenuButtonViewModel { final var isMoreMenuPresented: Swift.Bool final var isAddParticipantSheetPresented: Swift.Bool final var shouldShowCountdown: Swift.Bool final var isDisabled: Swift.Bool let moreMenuDidTap: (() -> ())? // synthesized from the storage `_cancellables` that @Observable generated; the property's own accessors are stripped var cancellables: [Combine.AnyCancellable] let countdownViewModel: CommunicationsUI.CountdownView.ViewModel let isScreenLocked: Combine.AnyPublisher<Swift.Bool, Swift.Never> let service: any ConversationKit.MoreMenuControlsService init(service: any ConversationKit.MoreMenuControlsService, moreMenuDidTap: (() -> ())?, isScreenLocked: Combine.AnyPublisher<Swift.Bool, Swift.Never>) final var controlType: ConversationKit.CallControlsType { get } final var conversation: __C.TUConversation? { get } final var ftMenuViewModel: ConversationKit.MoreMenuViewModel? { get } final func didTapMoreMenuButton() final func didTapAddParticipant(shouldPresent: Swift.Bool) final func config() -> CommunicationsUI.IconButtonConfig<()> final func enabled(for: ConversationKit.CallControlsInCallContext) -> Swift.Bool deinit }