Class RPBroadcastMP4ClipHandler

  • All Implemented Interfaces:
    NSExtensionRequestHandling, NSObject

    public class RPBroadcastMP4ClipHandler
    extends RPBroadcastHandler
    RPBroadcastMP4ClipHandler Subclass this class to handle movie clips as they are recorded by ReplayKit during the broadcast flow. ReplayKit will call processMP4ClipWithURL when a movie clip is available for processing.
    • Constructor Detail

      • RPBroadcastMP4ClipHandler

        protected RPBroadcastMP4ClipHandler​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static java.lang.Object allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(java.lang.Object aTarget,
                                                                                 org.moe.natj.objc.SEL aSelector,
                                                                                 java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        public static org.moe.natj.objc.Class classForKeyedUnarchiver()
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • description_static

        public static java.lang.String description_static()
      • hash_static

        public static long hash_static()
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • keyPathsForValuesAffectingValueForKey

        public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(java.lang.String key)
      • new_objc

        public static java.lang.Object new_objc()
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • version_static

        public static long version_static()
      • finishedProcessingMP4ClipWithUpdatedBroadcastConfigurationError

        public void finishedProcessingMP4ClipWithUpdatedBroadcastConfigurationError​(RPBroadcastConfiguration broadcastConfiguration,
                                                                                    NSError error)
        Method that should be called when processing is complete.
        Parameters:
        broadcastConfiguration - Optional updated configuration that will be applied to the next MP4 clip.
        error - Optional error to communicate to ReplayKit and the host application that there was an issue with the broadcast and to stop broadcasting. Note that once this is called, regardles of the existence of an error, the current MP4 clip will no longer be available.
      • processMP4ClipWithURLSetupInfoFinished

        public void processMP4ClipWithURLSetupInfoFinished​(NSURL mp4ClipURL,
                                                           NSDictionary<java.lang.String,​? extends NSObject> setupInfo,
                                                           boolean finished)
        Method which ReplayKit will call when an MP4 movie clip is ready for processing.
        Parameters:
        mp4ClipURL - URL that points to the location of the movie clip recorded by ReplayKit. Note that the URL may be nil in certain cases such as an error.
        setupInfo - Dictionary supplied by the UI extension that may contain setup information required for processing. The values in this dictionary are to be defined by the extension developer.
        finished - Boolean indicating that application requested the broadcast to end.