Class CPVoiceControlState

All Implemented Interfaces:
NSCoding, NSObjectProtocol, NSSecureCoding, ObjCProtocol

public class CPVoiceControlState
extends NSObject
implements NSSecureCoding
Since:
Available in iOS 12.0 and later.
  • Constructor Details

    • CPVoiceControlState

      public CPVoiceControlState()
    • CPVoiceControlState

      protected CPVoiceControlState​(NSObject.Handle h, long handle)
    • CPVoiceControlState

      protected CPVoiceControlState​(NSObject.SkipInit skipInit)
    • CPVoiceControlState

      public CPVoiceControlState​(String identifier, NSArray<NSString> titleVariants, UIImage image, boolean repeats)
    • CPVoiceControlState

      public CPVoiceControlState​(NSCoder coder)
  • Method Details

    • getTitleVariants

      public NSArray<NSString> getTitleVariants()
    • getImage

      public UIImage getImage()
    • getIdentifier

      public String getIdentifier()
    • isRepeats

      public boolean isRepeats()
    • supportsSecureCoding

      public static boolean supportsSecureCoding()
    • init

      protected long init​(String identifier, NSArray<NSString> titleVariants, UIImage image, boolean repeats)
    • encode

      public void encode​(NSCoder coder)
      Specified by:
      encode in interface NSCoding
    • init

      protected long init​(NSCoder coder)