라이브 로그 전달 받기
- Print
라이브 로그 전달 받기
- Print
The content is currently unavailable in English. You are viewing the default Korean version.
Article summary
Did you find this summary helpful?
Thank you for your feedback!
Stream<ShopLivePlayerLog> log를 통해 라이브 로그를 전달 받습니다.
ShopLivePlayerLog
Property name | Type | Description |
|---|---|---|
name | String | Event 의 이름 |
feature | String | Event 의 종류 |
campaignKey | String? | 방송의 Unique Key |
parameter | Map<String, dynamic>? | 관련 추가 parameter |
late final _shopLivePlayerPlugin = ShopLivePlayer();
_shopLivePlayerPlugin.log.listen((data) {
_showToast(
"clickLog : ${data.name}, ${data.feature}, ${data.campaignKey}, ${const JsonEncoder().convert(data.payload)}");
});