Class WKInterfaceGroup

All Implemented Interfaces:
NSObjectProtocol, WKImageAnimatable, ObjCProtocol

public class WKInterfaceGroup
extends WKInterfaceObject
implements WKImageAnimatable
Since:
Available in iOS 8.2 and later.
  • Constructor Details

    • WKInterfaceGroup

      protected WKInterfaceGroup()
    • WKInterfaceGroup

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

      protected WKInterfaceGroup​(NSObject.SkipInit skipInit)
  • Method Details

    • setCornerRadius

      public void setCornerRadius​(double cornerRadius)
    • setBackgroundColor

      public void setBackgroundColor​(UIColor color)
    • setBackgroundImage

      public void setBackgroundImage​(UIImage image)
    • setBackgroundImageData

      public void setBackgroundImageData​(NSData imageData)
    • setBackgroundImageNamed

      public void setBackgroundImageNamed​(String imageName)
    • startAnimating

      public void startAnimating()
      Specified by:
      startAnimating in interface WKImageAnimatable
    • startAnimatingWithImages

      public void startAnimatingWithImages​(NSRange imageRange, double duration, long repeatCount)
      Specified by:
      startAnimatingWithImages in interface WKImageAnimatable
    • stopAnimating

      public void stopAnimating()
      Specified by:
      stopAnimating in interface WKImageAnimatable