Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Internet Explorer alert
This browser is not recommended for use with smartdevicelink.com, and may not function properly. Upgrade to a different browser to guarantee support of all features.
close alert
To Top Created with Sketch. To Top
To Bottom Created with Sketch. To Bottom
iOS Documentation
SDLUnsubscribeButton

SDLUnsubscribeButton Class Reference

Section Contents

Overview

Deletes a subscription to button notifications for the specified button. For more information about button subscriptions, see SDLSubscribeButton

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

HMILevel needs to be FULL, LIMITED or BACKGROUND

@since SmartDeviceLink 1.0
See SDLSubscribeButton

-initWithButtonName:

Convenience init to unsubscribe from a subscription button

Objective-C

- (nonnull instancetype)initWithButtonName:(nonnull SDLButtonName)buttonName;

Swift

init(buttonName: SDLButtonName)

Parameters

buttonName

A name of the button to unsubscribe from

Return Value

A name of the button to unsubscribe from

buttonName

A name of the button to unsubscribe from @discussion An Enumeration value, see SDLButtonName

Objective-C

@property (nonatomic, strong) SDLButtonName _Nonnull buttonName;

Swift

var buttonName: SDLButtonName { get set }
View on GitHub.com
Previous Section Next Section