SwiftclassChatKit

@Observable class ChatKit.DetailsInfoTabView.LocationSection.ViewModel

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

inherits{}

Members 5

  1. fieldlet _$observationRegistrar: Observation.ObservationRegistrar
  2. fieldvar _findMyViewModel: FindMyLocationDetailsViewModel?+0x20
  3. fieldvar _locationSharingSections: [ChatKit.DetailsInfoTabView.LocationSection.ViewModel.LocationSharingSection]+0x28
  4. fieldlet actionHandlers: ChatKit.DetailsInfoTabView.LocationSection.ActionHandlers+0x18
  5. fieldlet conversation: CKConversation+0x10
@Observation.Observable
class ChatKit.DetailsInfoTabView.LocationSection.ViewModel {
    struct LocationSharingSection {
        let elements: [ChatKit.DetailsInfoTabView.LocationSection.ViewModel.LocationSharingElement]
    }
    enum LocationSharingElement {
        case map
        case requestLocation
        case shareLocation
        case stopSharingLocation
        case sendCurrentLocation
    }
    let conversation: __C.CKConversation
    let actionHandlers: ChatKit.DetailsInfoTabView.LocationSection.ActionHandlers
    // synthesized from the storage `_findMyViewModel` that @Observable generated; the property's own accessors are stripped
    var findMyViewModel: __C.FindMyLocationDetailsViewModel?
    // synthesized from the storage `_locationSharingSections` that @Observable generated; the property's own accessors are stripped
    var locationSharingSections: [ChatKit.DetailsInfoTabView.LocationSection.ViewModel.LocationSharingSection]
}