summaryrefslogtreecommitdiff
path: root/docs/Classes/SDLDeleteSubMenu.html
blob: 031445fd6753dd01f94f6fb071bbe2c442f26dee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<h1>SDLDeleteSubMenu Class Reference</h1>

<h3>Section Contents</h3>

<ul>
  <li><a href="#section--initWithId:">-initWithId:</a></li>
  <li><a href="#section-menuID">menuID</a></li>
</ul>

<h3>Overview</h3>

<p>Deletes a submenu from the Command Menu
 <p>
 <b>Notes: </b>When an app deletes a submenu that has child commands, those
 child commands are also deleted
 <p>
 <b>HMILevel needs to be  FULL, LIMITED or BACKGROUND</b>
 </p></p>

<p>Since <b>SmartDeviceLink 1.0</b><br>
 see SDLAddCommand SDLAddSubMenu SDLDeleteCommand</p>


<section class="section task-group-section">
  <h3 id="section--initWithId:">
      -initWithId:
  </h3>
  
  <p>Undocumented</p>

  
  
  <h4>Objective-C</h4>
  <pre class="highlight"><code><span class="k">@interface</span> <span class="nc">SDLDeleteSubMenu</span> <span class="p">:</span> <span class="nc"><a href="../Classes/SDLRPCRequest.html">SDLRPCRequest</a></span></code></pre>

  
  
  
  
  <h3 id="section-menuID">
      menuID
  </h3>
  
  <p>@abstract the MenuID that identifies the SDLSubMenu to be delete
@discussion  <b>Notes: </b>Min Value: 0; Max Value: 2000000000</p>

  
  
  <h4>Objective-C</h4>
  <pre class="highlight"><code><span class="k">@property</span> <span class="p">(</span><span class="n">readwrite</span><span class="p">,</span> <span class="n">strong</span><span class="p">,</span> <span class="n">nonatomic</span><span class="p">)</span> <span class="n">NSNumber</span><span class="o">&lt;</span><span class="n"><a href="../Protocols.html#/c:objc(pl)SDLInt">SDLInt</a></span><span class="o">&gt;</span> <span class="o">*</span><span class="n">_Nonnull</span> <span class="n">menuID</span><span class="p">;</span></code></pre>

  
  <h4>Swift</h4>
  <pre class="highlight"><code><span class="k">var</span> <span class="nv">menuID</span><span class="p">:</span> <span class="kt">NSNumber</span> </code></pre>

  
  
  
</section>