Class RPBroadcastController

  • All Implemented Interfaces:
    NSObject

    public class RPBroadcastController
    extends NSObject
    RPBroadcastController Available once a user has successfully initiated a broadcast using an RPBroadcastActivityViewController. Can be used to start, pause and stop a broadcast. API-Since: 10.0
    • Constructor Detail

      • RPBroadcastController

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

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

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

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

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

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

        @NotNull
        public static @NotNull 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

        @NotNull
        public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(@NotNull
                                                                                             @NotNull java.lang.String key)
      • 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()
      • broadcastExtensionBundleID

        @Nullable
        @Deprecated
        public @Nullable java.lang.String broadcastExtensionBundleID()
        Deprecated.
        bundleID of the broadcast extension which was selected by the user. API-Since: 10.0 Deprecated-Since: 11.0 Deprecated-Message: No longer supported
      • broadcastURL

        @NotNull
        public @NotNull NSURL broadcastURL()
        URL that can be used to redirect the user to the on-going or completed broadcast.
      • delegate

        @Nullable
        public @Nullable RPBroadcastControllerDelegate delegate()
        Delegate which will be notified when an error occurs during broadcast.
      • finishBroadcastWithHandler

        public void finishBroadcastWithHandler​(@NotNull
                                               @NotNull RPBroadcastController.Block_finishBroadcastWithHandler handler)
        Finish the broadcast.
        Parameters:
        error - Optional error in the RPRecordingErrorCode domain. A nil error signifies that broadcasting has finished successfully.
      • isBroadcasting

        public boolean isBroadcasting()
        Indicates whether the controller is currently broadcasting.
      • isPaused

        public boolean isPaused()
        Indicates whether the controller is currently paused.
      • pauseBroadcast

        public void pauseBroadcast()
        Pause the broadcast. The broadcast will pause immediately.
      • resumeBroadcast

        public void resumeBroadcast()
        Resumes the broadcast. The broadcast will resume immediately.
      • serviceInfo

        @Nullable
        public @Nullable NSDictionary<java.lang.String,​? extends NSObject> serviceInfo()
        Dictionary updated by the service during a broadcast. The keys and values of this dictionary are defined by the broadcast service. KVO observable.
      • setDelegate_unsafe

        public void setDelegate_unsafe​(@Nullable
                                       @Nullable RPBroadcastControllerDelegate value)
        Delegate which will be notified when an error occurs during broadcast.
      • setDelegate

        public void setDelegate​(@Nullable
                                @Nullable RPBroadcastControllerDelegate value)
        Delegate which will be notified when an error occurs during broadcast.
      • startBroadcastWithHandler

        public void startBroadcastWithHandler​(@NotNull
                                              @NotNull RPBroadcastController.Block_startBroadcastWithHandler handler)
        Start the broadcast.
        Parameters:
        error - Optional error in the RPRecordingErrorCode domain. A nil error signifies that broadcasting has started successfully.
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.