Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 15e9fdf0 authored by Brad Lassey's avatar Brad Lassey
Browse files

Add Javadoc for PollingFrame constructor

Bug: 329144913
Test: just javadoc
Change-Id: If731d3fe6ee045b6177923f31d3cb179062d046f
parent c40142bd
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -174,6 +174,16 @@ public final class PollingFrame implements Parcelable{
                && frame.getBoolean(KEY_POLLING_LOOP_TRIGGERED_AUTOTRANSACT);
    }

    /**
     * Constructor for Polling Frames.
     *
     * @param type the type of the frame
     * @param data a byte array of the data contained in the frame
     * @param gain the vendor-specific gain of the field
     * @param timestamp the timestamp in millisecones
     * @param triggeredAutoTransact whether or not this frame triggered the device to start a
     * transaction automatically
     */
    public PollingFrame(@PollingFrameType int type, @Nullable byte[] data,
            int gain, int timestamp, boolean triggeredAutoTransact) {
        mType = type;