Android Open Source - android-vixen-serial Time Slice






From Project

Back to project page android-vixen-serial.

License

The source code is released under:

Apache License

If you think the Android project android-vixen-serial listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package org.bakchuda.android.vixenplayer.data;
//  w w  w. j av a2 s .c  om
import java.util.List;

/**
 * Represents the on/off state of channels in a Vixen data stream
 * for one 'slice' of time
 *
 */
public class TimeSlice {

    /**
     * The sort index for this time slice
     */
    protected Integer index;

    /**
     * Byte array of channel on/off states for this time slice
     * A value of 1 is 'on', 0 is 'off'
     *
     * All other values are invalid
     */
    protected List<Byte> channelStates;

    public Integer getIndex() {
        return index;
    }

    public void setIndex(Integer index) {
        this.index = index;
    }

    public List<Byte> getChannelStates() {
        return channelStates;
    }

    public void setChannelStates(List<Byte> channelStates) {
        this.channelStates = channelStates;
    }
}




Java Source Code List

org.bakchuda.android.vixenplayer.ApplicationTest.java
org.bakchuda.android.vixenplayer.RootFrame.java
org.bakchuda.android.vixenplayer.data.TimeSlice.java
org.bakchuda.android.vixenplayer.data.VixenData.java