1 package com.smartdevicelink.proxy.rpc;
\r
3 import java.util.Hashtable;
\r
5 import com.smartdevicelink.proxy.RPCNotification;
\r
6 import com.smartdevicelink.proxy.constants.Names;
\r
9 * Binary data is in binary part of hybrid msg.
\r
12 * <b>HMI Status Requirements:</b>
\r
16 * <li>BACKGROUND, FULL, LIMITED</li>
\r
18 * AudioStreamingState:
\r
28 * <b>Parameter List:</b>
\r
29 * <table border="1" rules="all">
\r
33 * <th>Description</th>
\r
36 * <th>Applink Ver Available</th>
\r
43 public class OnAudioPassThru extends RPCNotification {
\r
45 *Constructs a newly allocated OnCommand object
\r
47 public OnAudioPassThru() {
\r
48 super("OnAudioPassThru");
\r
51 *<p>Constructs a newly allocated OnAudioPassThru object indicated by the Hashtable parameter</p>
\r
52 *@param hash The Hashtable to use
\r
54 public OnAudioPassThru(Hashtable hash) {
\r
57 public void setAPTData(byte[] aptData) {
\r
58 if (aptData != null) {
\r
59 store.put(Names.bulkData, aptData);
\r
61 store.remove(Names.bulkData);
\r
64 public byte[] getAPTData() {
\r
65 return (byte[]) store.get(Names.bulkData);
\r