NotificationBuilder.onClick()
알림에 클릭 가능한 버튼과 클릭할 때 호출될 콜백 함수를 설정합니다.
구문
NotificationBuilder.onClick(title: String, callback: (id: Number) => Any?);
매개변수
title
버튼의 제목
callback
버튼을 클릭할 때 호출될 콜백 함수
id
: 알림의 ID
반환값
NotificationBuilder
- 해당 NotificationBuilder
객체