Class MPVolumeView

All Implemented Interfaces:
CALayerDelegate, NSCoding, NSObjectProtocol, UIAccessibilityIdentification, UIActivityItemsConfigurationProviding, UIAppearanceContainer, UICoordinateSpace, UIDynamicItem, UIFocusEnvironment, UIFocusItem, UIFocusItemContainer, UILargeContentViewerItem, UIPasteConfigurationSupporting, UIResponderStandardEditActions, UITraitEnvironment, UIUserActivityRestoring, ObjCProtocol

public class MPVolumeView
extends UIView
implements NSCoding
  • Constructor Details

    • MPVolumeView

      public MPVolumeView()
    • MPVolumeView

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

      protected MPVolumeView​(NSObject.SkipInit skipInit)
    • MPVolumeView

      public MPVolumeView​(CGRect frame)
    • MPVolumeView

      public MPVolumeView​(NSCoder coder)
  • Method Details

    • showsVolumeSlider

      public boolean showsVolumeSlider()
    • setShowsVolumeSlider

      public void setShowsVolumeSlider​(boolean v)
    • showsRouteButton

      @Deprecated public boolean showsRouteButton()
      Deprecated.
      Deprecated in iOS 13.0. Use AVRoutePickerView instead.
    • setShowsRouteButton

      @Deprecated public void setShowsRouteButton​(boolean v)
      Deprecated.
      Deprecated in iOS 13.0. Use AVRoutePickerView instead.
    • areWirelessRoutesAvailable

      @Deprecated public boolean areWirelessRoutesAvailable()
      Deprecated.
      Deprecated in iOS 13.0. Use AVRouteDetector.multipleRoutesDetected instead.
    • isWirelessRouteActive

      @Deprecated public boolean isWirelessRouteActive()
      Deprecated.
      Deprecated in iOS 13.0. Use AVPlayer.externalPlaybackActive instead.
    • getVolumeWarningSliderImage

      public UIImage getVolumeWarningSliderImage()
    • setVolumeWarningSliderImage

      public void setVolumeWarningSliderImage​(UIImage v)
    • getLayerClass

      public static Class<? extends CALayer> getLayerClass()
    • WirelessRoutesAvailableDidChangeNotification

      @Deprecated public static NSString WirelessRoutesAvailableDidChangeNotification()
      Deprecated.
      Deprecated in iOS 13.0. Use AVRouteDetectorMultipleRoutesDetectedDidChangeNotification instead.
    • WirelessRouteActiveDidChangeNotification

      @Deprecated public static NSString WirelessRouteActiveDidChangeNotification()
      Deprecated.
      Deprecated in iOS 13.0. Use AVPlayer.externalPlaybackActive KVO instead.
    • setMinimumVolumeSliderImage

      public void setMinimumVolumeSliderImage​(UIImage image, UIControlState state)
    • setMaximumVolumeSliderImage

      public void setMaximumVolumeSliderImage​(UIImage image, UIControlState state)
    • setVolumeThumbImage

      public void setVolumeThumbImage​(UIImage image, UIControlState state)
    • getMinimumVolumeSliderImage

      public UIImage getMinimumVolumeSliderImage​(UIControlState state)
    • getMaximumVolumeSliderImage

      public UIImage getMaximumVolumeSliderImage​(UIControlState state)
    • getVolumeThumbImage

      public UIImage getVolumeThumbImage​(UIControlState state)
    • getVolumeSliderRect

      public CGRect getVolumeSliderRect​(CGRect bounds)
    • getVolumeThumbRect

      public CGRect getVolumeThumbRect​(CGRect bounds, CGRect rect, float value)
    • setRouteButtonImage

      @Deprecated public void setRouteButtonImage​(UIImage image, UIControlState state)
      Deprecated.
      Deprecated in iOS 13.0. Use AVRoutePickerView.routePickerButtonStyle instead.
    • getRouteButtonImage

      @Deprecated public UIImage getRouteButtonImage​(UIControlState state)
      Deprecated.
      Deprecated in iOS 13.0. See AVRoutePickerView for possible replacements.
    • getRouteButtonRect

      @Deprecated public CGRect getRouteButtonRect​(CGRect bounds)
      Deprecated.
      Deprecated in iOS 13.0. See AVRoutePickerView for possible replacements.
    • getUserInterfaceLayoutDirection

      public static UIUserInterfaceLayoutDirection getUserInterfaceLayoutDirection​(UISemanticContentAttribute attribute)
      Since:
      Available in iOS 9.0 and later.
    • getUserInterfaceLayoutDirection

      public static UIUserInterfaceLayoutDirection getUserInterfaceLayoutDirection​(UISemanticContentAttribute semanticContentAttribute, UIUserInterfaceLayoutDirection layoutDirection)
      Since:
      Available in iOS 10.0 and later.