1 package net.osdn.gokigen.a01d.camera.nikon.wrapper.command.messages.specific;
3 import androidx.annotation.NonNull;
5 import net.osdn.gokigen.a01d.camera.ptpip.wrapper.command.IPtpIpCommandCallback;
6 import net.osdn.gokigen.a01d.camera.ptpip.wrapper.command.messages.PtpIpCommandBase;
8 public class NikonLiveViewRequestMessage extends PtpIpCommandBase
10 private final IPtpIpCommandCallback callback;
11 private final boolean isDumpLog;
12 private final int delayMs;
14 public NikonLiveViewRequestMessage(@NonNull IPtpIpCommandCallback callback,int delayMs, boolean isDumpLog)
16 this.callback = callback;
17 this.delayMs = delayMs;
18 this.isDumpLog = isDumpLog;
22 public IPtpIpCommandCallback responseCallback()
30 return (SEQ_GET_VIEWFRAME);
34 public byte[] commandBody()
39 (byte) 0x06, (byte) 0x00, (byte) 0x00, (byte) 0x00,
42 (byte) 0x01, (byte) 0x00, (byte) 0x00, (byte) 0x00,
45 (byte) 0x03, (byte) 0x92,
48 (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00,
53 public boolean dumpLog()
59 public int receiveDelayMs()
65 public boolean isRetrySend()
71 public int maxRetryCount()
77 public boolean isIncrementSequenceNumberToRetry()