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 ChangeToPlayback4th extends FujiXCommandBase
11 private final int holdId;
12 private final IFujiXCommandCallback callback;
14 public ChangeToPlayback4th(int holdId, @NonNull IFujiXCommandCallback callback)
17 this.callback = callback;
21 public IFujiXCommandCallback responseCallback()
29 return (IFujiXMessages.SEQ_CHANGE_TO_PLAYBACK_4TH);
33 public byte[] commandBody()
37 // message_header.index : uint16 (0: terminate, 2: two_part_message, 1: other)
38 (byte)0x01, (byte)0x00,
40 // message_header.type : single_part (0x1015) : 0xd212 (status_request)
41 (byte)0x15, (byte)0x10,
44 (byte)0x00, (byte)0x00, (byte)0x00, (byte)0x00,
47 (byte)0x25, (byte)0xdf, (byte)0x00, (byte)0x00,
52 public int getHoldId()
58 public boolean isHold()
64 public boolean isRelease()
70 public boolean dumpLog()