Class SKVideoNode

    • Constructor Detail

      • SKVideoNode

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static SKVideoNode 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()
      • clearTextInputContextIdentifier

        public static void clearTextInputContextIdentifier​(@NotNull
                                                           @NotNull java.lang.String identifier)
      • 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)
      • nodeWithFileNamed

        public static SKVideoNode nodeWithFileNamed​(@NotNull
                                                    @NotNull java.lang.String filename)
      • obstaclesFromNodePhysicsBodies

        @NotNull
        public static @NotNull NSArray<? extends GKPolygonObstacle> obstaclesFromNodePhysicsBodies​(@NotNull
                                                                                                   @NotNull NSArray<? extends SKNode> nodes)
      • obstaclesFromSpriteTexturesAccuracy

        @NotNull
        public static @NotNull NSArray<? extends GKPolygonObstacle> obstaclesFromSpriteTexturesAccuracy​(@NotNull
                                                                                                        @NotNull NSArray<? extends SKNode> sprites,
                                                                                                        float accuracy)
      • 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()
      • videoNodeWithAVPlayer

        @NotNull
        public static @NotNull SKVideoNode videoNodeWithAVPlayer​(@NotNull
                                                                 @NotNull AVPlayer player)
        Create a video node from an AVPlayer. You can use the AVPlayer to control playback.
      • videoNodeWithFileNamed

        @NotNull
        public static @NotNull SKVideoNode videoNodeWithFileNamed​(@NotNull
                                                                  @NotNull java.lang.String videoFile)
        API-Since: 9.0
      • videoNodeWithURL

        @NotNull
        public static @NotNull SKVideoNode videoNodeWithURL​(@NotNull
                                                            @NotNull NSURL videoURL)
        API-Since: 9.0
      • videoNodeWithVideoFileNamed

        @NotNull
        @Deprecated
        public static @NotNull SKVideoNode videoNodeWithVideoFileNamed​(@NotNull
                                                                       @NotNull java.lang.String videoFile)
        Deprecated.
        Create a video node from a file. API-Since: 7.0 Deprecated-Since: 9.0
      • videoNodeWithVideoURL

        @NotNull
        @Deprecated
        public static @NotNull SKVideoNode videoNodeWithVideoURL​(@NotNull
                                                                 @NotNull NSURL videoURL)
        Deprecated.
        Create a video node from a URL. API-Since: 7.0 Deprecated-Since: 9.0
      • anchorPoint

        public CGPoint anchorPoint()
        The location in the video that maps to its 'position' in the parent's coordinate space. (0.0-1.0)
      • initWithAVPlayer

        public SKVideoNode initWithAVPlayer​(@NotNull
                                            @NotNull AVPlayer player)
        Designated Initializer. Initialize a video node from an AVPlayer. You can use the AVPlayer to control playback.
      • initWithFileNamed

        public SKVideoNode initWithFileNamed​(@NotNull
                                             @NotNull java.lang.String videoFile)
        API-Since: 8.0
      • initWithURL

        public SKVideoNode initWithURL​(@NotNull
                                       @NotNull NSURL url)
        API-Since: 8.0
      • initWithVideoFileNamed

        @Deprecated
        public SKVideoNode initWithVideoFileNamed​(@NotNull
                                                  @NotNull java.lang.String videoFile)
        Deprecated.
        Initialize a video node from a file. API-Since: 7.0 Deprecated-Since: 8.0
      • initWithVideoURL

        @Deprecated
        public SKVideoNode initWithVideoURL​(@NotNull
                                            @NotNull NSURL url)
        Deprecated.
        API-Since: 7.0 Deprecated-Since: 8.0
      • pause

        public void pause()
      • play

        public void play()
      • setAnchorPoint

        public void setAnchorPoint​(CGPoint value)
        The location in the video that maps to its 'position' in the parent's coordinate space. (0.0-1.0)
      • setSize

        public void setSize​(CGSize value)
        The display size of the video (in parent's coordinate space)
      • size

        public CGSize size()
        The display size of the video (in parent's coordinate space)
      • nodeWithFileNamedSecurelyWithClassesAndError

        public static SKVideoNode nodeWithFileNamedSecurelyWithClassesAndError​(@NotNull
                                                                               @NotNull java.lang.String filename,
                                                                               @NotNull
                                                                               @NotNull NSSet<? extends org.moe.natj.objc.Class> classes,
                                                                               @Nullable
                                                                               @Nullable org.moe.natj.general.ptr.Ptr<NSError> error)
      • supportsSecureCoding

        public static boolean supportsSecureCoding()
      • _supportsSecureCoding

        public boolean _supportsSecureCoding()
        Description copied from interface: NSSecureCoding
        This property must return YES on all classes that allow secure coding. Subclasses of classes that adopt NSSecureCoding and override initWithCoder: must also override this method and return YES. The Secure Coding Guide should be consulted when writing methods that decode data.
        Specified by:
        _supportsSecureCoding in interface NSSecureCoding
        Overrides:
        _supportsSecureCoding in class SKNode
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.