APISonar


master.flame.danmaku.danmaku.model.BaseDanmaku.time

> master > flame > danmaku > danmaku > model > BaseDanmaku > time
master APIs flame APIs danmaku APIs danmaku APIs model APIs BaseDanmaku APIs time APIs

Example 1
private void addDanmaku(boolean islive, String txt) {
        BaseDanmaku danmaku = mDanmakuContext.mDanmakuFactory.createDanmaku(BaseDanmaku.TYPE_SCROLL_RL);
        if (danmaku == null || mDanmakuView == null) {
            return;
        }
        danmaku.text = txt;
        danmaku.padding = 5;
        danmaku.priority = 0;
        danmaku.isLive = islive;
        danmaku.textSize = 32;
        danmaku.textColor = Color.WHITE;
        danmaku.time = mDanmakuView.getCurrentTime();
        mDanmakuView.addDanmaku(danmaku);
    }