GMTCJourneySharingSession 클래스 참조

GMTCJourneySharingSession 클래스 참조

<GMTCMapViewSession>을 상속합니다.

공개 멤버 함수

(인스턴스 유형)- initWithTripModel:
 세션 객체를 초기화합니다.
(void) - didAddToMapView:
 세션이 추가되었을 때 GMTCMapView 인스턴스에 의해 호출됩니다.
(void) - didRemoveFromMapView:
 세션이 삭제되면 GMTCMapView 인스턴스에 의해 호출됩니다.

속성

id< GMTCMapViewSessionDelegate >위임
 현재 여정 공유 세션의 위임자입니다.
GMTCMapViewSessionStatestate
 현재 세션 상태를 반환합니다.
GMTCMapViewhostMapView
 현재 세션의 호스트 지도뷰를 반환합니다.
GMTCTripModeltripModel
 연결된 이동 세션을 반환합니다.

멤버 함수 문서

- (instancetype) initWithTripModel: (GMTCTripModel *) tripModel

세션 객체를 초기화합니다.

매개변수:
tripModel목표 이동 요청입니다.
- (void) didAddToMapView: (GMTCMapView *) mapView

세션이 추가되었을 때 GMTCMapView 인스턴스에 의해 호출됩니다.

- (void) didRemoveFromMapView: (GMTCMapView *) mapView

세션이 삭제되면 GMTCMapView 인스턴스에 의해 호출됩니다.


속성 문서

- (id<GMTCMapViewSessionDelegate>) 위임 [read, write, assign]

현재 여정 공유 세션의 위임자입니다.

<GMTCMapViewSession>에서 다시 구현되었습니다.

- (GMTCMapViewSessionState) state [read, assign]

현재 세션 상태를 반환합니다.

가능한 상태는 GMTCMapViewSessionState에서 참조할 수 있습니다.

<GMTCMapViewSession>에서 다시 구현되었습니다.

- (GMTCMapView*) hostMapView [read, assign]

현재 세션의 호스트 지도뷰를 반환합니다.

<GMTCMapViewSession>에서 다시 구현되었습니다.

- (GMTCTripModel*) tripModel [read, assign]

연결된 이동 세션을 반환합니다.