ShoplivePlayerShareRequested class

시청자가 공유 버튼을 눌렀다(SDK 3.0.4+, SMV-1899) — 앱이 info로 공유 화면을 띄운다.

navigation.isCustomShareEnabled: true로 시작한 세션에서만 오고, 이때 SDK 기본 공유 시트는 뜨지 않는다. false·생략이면 이 이벤트 없이 기본 시트가 뜬다. SDK가 알린 1건을 1건으로 전달한다(브릿지는 합치거나 늘리지 않음).

  • events를 구독하지 않으면 공유는 아무 반응이 없다(기본 시트도 뜨지 않음 — 경고 로그만). 켤 때는 반드시 구독한다.
  • url null: 링크가 없으면 url이 null로 온다 — 링크 없이 처리하거나 무시한다. Android는 error 이벤트(NOT_INITIALIZED_SHARE_URL)도 함께 온다.
  • Android 공유 화면 띄우기: 풀스크린 플레이어는 별도 태스크라, 앱 화면에서 띄운 공유 화면을 닫으면 방송 대신 앱 화면이 앞에 올 수 있다. 공유 전에 enterPictureInPicture()로 in-App PIP로 바꾼 뒤 띄우는 방식을 권장한다.
  • iOS 시트 위치: 플레이어는 Flutter 화면 위에 표시되므로 공유 시트는 최상위 화면 기준으로 띄운다.
Inheritance

Properties

hashCode → int
The hash code for this object.
no setterinherited
info → ShopliveShareInfo
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited