1 package net.osdn.gokigen.gr2control.camera.fuji_x.wrapper.command.messages.changemode;
3 import androidx.annotation.NonNull;
5 import net.osdn.gokigen.gr2control.camera.fuji_x.wrapper.command.IFujiXCommandCallback;
6 import net.osdn.gokigen.gr2control.camera.fuji_x.wrapper.command.IFujiXMessages;
7 import net.osdn.gokigen.gr2control.camera.fuji_x.wrapper.command.messages.FujiXCommandBase;
9 public class ChangeToPlayback5th extends FujiXCommandBase
11 private final int holdId;
12 private final IFujiXCommandCallback callback;
14 public ChangeToPlayback5th(int holdId, @NonNull IFujiXCommandCallback callback)
17 this.callback = callback;
21 public IFujiXCommandCallback responseCallback()
29 return (IFujiXMessages.SEQ_CHANGE_TO_PLAYBACK_5TH);
33 public byte[] commandBody()
36 // message_header.index : uint16 (0: terminate, 2: two_part_message, 1: other)
37 (byte)0x01, (byte)0x00,
39 // message_header.type : two_part (0x1016) : SetDevicePropValue
40 (byte)0x16, (byte)0x10,
43 (byte)0x00, (byte)0x00, (byte)0x00, (byte)0x00,
46 (byte)0x25, (byte)0xdf, (byte)0x00, (byte)0x00,
51 public byte[] commandBody2()
54 // message_header.index : uint16 (0: terminate, 2: two_part_message, 1: other)
55 (byte)0x02, (byte)0x00,
57 // message_header.type : two_part (0x1016) : SetDevicePropValue
58 (byte)0x16, (byte)0x10,
61 (byte)0x00, (byte)0x00, (byte)0x00, (byte)0x00,
64 //(byte)0x02, (byte)0x00,
65 (byte)0x04, (byte)0x00,
71 public int getHoldId()
77 public boolean isHold()
83 public boolean isRelease()
89 public boolean dumpLog()