bu.java 1.89 KB
package com.lotus.town.notify;

import android.os.Bundle;
import android.support.annotation.Nullable;

import com.ad.lib.AdPlacement;
import com.ad.lib.RequestInfo;
import com.bytedance.sdk.openadsdk.AdSlot;
import com.controller.NotifyType;
import com.lotus.town.R;

/**
 * 拔出充电器
 */
public class bu extends BaseNotifyActivity {

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

    }

    @Override
    protected void initLayout() {
        setContentView(R.layout.bu_notify_layout);

    }

    @Override
    protected void initSmallView() {

    }

    @Override
    protected void initSmallAd() {

    }

    @Override
    protected String getEventName() {
        return "u_s_a_d";
    }

    @Override
    protected String getEventClickName() {
        return "u_s_c";
    }

    @Override
    protected String getEventPageName() {
        return "u_s_p";
    }

    @Override
    protected RequestInfo getSmallPlacementId() {
        RequestInfo info = new RequestInfo();
        info.setId(AdPlacement.getUnPlugBigId());
        info.setWidth(1080);
        info.setHeight(1920);
        info.setType(AdSlot.TYPE_INTERACTION_AD);
        return info;
    }

    @Override
    protected RequestInfo getBigPlacementId() {
        RequestInfo info = new RequestInfo();
        info.setId(AdPlacement.getUnPlugBigId());
        info.setWidth(1080);
        info.setHeight(1920);
        info.setType(AdSlot.TYPE_INTERACTION_AD);
        return info;
    }

    @Override
    protected void initInfo() {
    }
    @Override
    protected void initView(){
        super.initView();
    }
    @Override
    protected int getSmallAdType() {
        return 0;
    }

    @Override
    protected int getBitAdType() {
        return 0;
    }

    @Override
    protected int getBigAdNotifyType() {
        return NotifyType.BATTERY_UNPLUG_NOTIFY;
    }
}