diff options
Diffstat (limited to 'docs/Classes/SDLUnsubscribeButton.html')
-rw-r--r-- | docs/Classes/SDLUnsubscribeButton.html | 91 |
1 files changed, 91 insertions, 0 deletions
diff --git a/docs/Classes/SDLUnsubscribeButton.html b/docs/Classes/SDLUnsubscribeButton.html new file mode 100644 index 000000000..b8ee42394 --- /dev/null +++ b/docs/Classes/SDLUnsubscribeButton.html @@ -0,0 +1,91 @@ +<h1>SDLUnsubscribeButton Class Reference</h1> + +<h3>Section Contents</h3> + +<ul> + <li><a href="#section--init">-init</a></li> + <li><a href="#section--initWithDictionary:">-initWithDictionary:</a></li> + <li><a href="#section-buttonName">buttonName</a></li> +</ul> + +<h3>Overview</h3> + +<p>Deletes a subscription to button notifications for the specified button. For +more information about button subscriptions, see SDLSubscribeButton +<p> +Application can unsubscribe from a button that is currently being pressed +(i.e. has not yet been released), but app will not get button event +<p> +<b>HMILevel needs to be FULL, LIMITED or BACKGROUND</b> +<p></p> + +<p>@since SmartDeviceLink 1.0<br/> +See SDLSubscribeButton</p> + + +<section class="section task-group-section"> + <h3> + -init + </h3> + + <p>@abstract Constructs a new SDLUnsubscribeButton object</p> + + + + <h4>Objective-C</h4> + <pre class="highlight"><code><span class="k">-</span> <span class="p">(</span><span class="n">instancetype</span><span class="p">)</span><span class="n">init</span><span class="p">;</span></code></pre> + + + <h4>Swift</h4> + <pre class="highlight"><code><span class="nf">init</span><span class="o">!</span><span class="p">()</span></code></pre> + + + + + <h3> + -initWithDictionary: + </h3> + + <p>@abstract Constructs a new SDLUnsubscribeButton object indicated by the NSMutableDictionary +parameter +- parameter: dict The dictionary to use</p> + + + + <h4>Objective-C</h4> + <pre class="highlight"><code><span class="k">-</span> <span class="p">(</span><span class="n">instancetype</span><span class="p">)</span><span class="nf">initWithDictionary</span><span class="p">:(</span><span class="n">NSMutableDictionary</span> <span class="o">*</span><span class="p">)</span><span class="nv">dict</span><span class="p">;</span></code></pre> + + + <h4>Swift</h4> + <pre class="highlight"><code><span class="nf">init</span><span class="o">!</span><span class="p">(</span><span class="n">dictionary</span> <span class="nv">dict</span><span class="p">:</span> <span class="kt">NSMutableDictionary</span><span class="o">!</span><span class="p">)</span></code></pre> + + + + <h4>Parameters</h4> + <dl> + <dt>dict</dt> + <dd><p>The dictionary to use</p> +</dd> + </dl> + + <h3> + buttonName + </h3> + + <p>@abstract A name of the button to unsubscribe from +@discussion An Enumeration value, see <i> + SDLButtonName</i></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">atomic</span><span class="p">)</span> <span class="n">SDLButtonName</span> <span class="o">*</span><span class="n">buttonName</span><span class="p">;</span></code></pre> + + + <h4>Swift</h4> + <pre class="highlight"><code><span class="k">var</span> <span class="nv">buttonName</span><span class="p">:</span> <span class="kt">SDLButtonName</span><span class="o">!</span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre> + + + + +</section> |