tu Nguyen

2 bundles
1 file2 months ago
2

abc.java

123456789101112131415	public static void notify(String[] args) {

		// import com.vng.zing.zmp3.recsys.thrift.*;
		Notifier notifier = new Notifier("event_name");
		TUserActionLogNotification data = new TUserActionLogNotification();

		data.setIdUser(123456); // boba user's id
		data.setTypeAction(TActionType.PLAY.getValue());
		data.setTypeContent(TContentType.CHORUS_AUDIO.getValue());
		data.setTypePlatform(TPlatformType.APP_ANDROID.getValue());
		data.setTypeProduct(TProductType.BOBA.getValue());
		data.setTypeSource(TSourceType.OTHER.getValue());

		notifier.notify("zmp3.useraction", data);
	}