Hierarchy

Properties

entersFullScreenWhenPlaybackBegins: boolean

A Boolean value that determines whether the player automatically displays in full screen when the play button is tapped.

Property

Ios

Since

4.1.4

exitsFullScreenWhenPlaybackEnds: boolean

A Boolean value that indicates whether the player exits full screen when playback ends.

Property

Ios

Since

4.1.4

shouldAutomaticallyDismissAtPictureInPictureStart: boolean

Asks the delegate whether the player view controller should automatically dismiss when Picture in Picture starts.

Property

Ios

Since

4.3.1

exclusiveTouch: boolean

Setting this property to TRUE causes the receiver to block the delivery of touch events to other views. The default value of this property is false

Property

= false]

Ios

Since

2.0.10

clipsToBounds: number

A Boolean value that determines whether subviews are confined to the bounds of the view.

Property

= false]

Ios

Since

1.1.15

masksToBounds: boolean

A Boolean value that determines whether subviews are confined to the bounds of the view.

Property

= false]

Deprecated

Use view.maskToBounds instead

Ios

Since

1.1.15

shadowOffset: Point2D

The offset (in points) of the shadow. This will set "masksToBounds" property to false.

Example

view.masksToBounds = false;
view.ios.shadowOffset = {x:10,y:10};
view.ios.shadowRadius = 5;
view.ios.shadowOpacity = 0.5;
view.ios.shadowColor = Color.GRAY;

Property

= {x: 0.0,y: -3.0}]

Property

Property

Ios

Since

2.0.6

shadowRadius: number

The blur radius (in points) used to render the shadow. masksToBounds" property must be false for shadow.

Property

= 3]

Ios

Since

2.0.6

shadowOpacity: number

The value in this property must be in the range 0.0 (transparent) to 1.0 (opaque). "masksToBounds" property must be false for shadow.

Property

= 0]

Ios

Since

2.0.6

shadowColor: IColor

The color of the shadow. "masksToBounds" property must be false for shadow.

Property

= UI.Color.BLACK]

Deprecated

Use UI.View#shadowColor

Ios

Since

2.0.6

viewAppearanceSemanticContentAttribute: SemanticContentAttribute

Changes the direction of unreachable child views of all components. These components are HeaderBar, BottomBar, Material Textbox, Searchview, SwipeView etc.

Property

= UI.View.iOS.SemanticContentAttribute.AUTO]

Ios

Static

Since

3.1.3

performWithoutAnimation: ((functionWithoutAnimation: Function) => void)

Type declaration

    • (functionWithoutAnimation: Function): void
    • Disables a view transition animation.

      Method

      performWithoutAnimation

      Ios

      Since

      4.2.1

      Parameters

      • functionWithoutAnimation: Function

      Returns void

Events

didStopPictureInPicture: (() => void)

Type declaration

    • (): void
    • Picture in Picture has stopped.

      didStopPictureInPicture

      Deprecated

      Ios

      Since

      4.3.1

      Example

      import VideoView from '@smartface/native/ui/videoview';

      const videoView = new VideoView();
      videoView.on(VideoView.Events.DidStopPictureInPicture, () => {
      console.info('didStopPictureInPicture');
      });

      Returns void

didStartPictureInPicture: (() => void)

Type declaration

    • (): void
    • Picture in Picture has started.

      didStartPictureInPicture

      Deprecated

      Ios

      Since

      4.3.1

      Example

      import VideoView from '@smartface/native/ui/videoview';

      const videoView = new VideoView();
      videoView.on(VideoView.Events.DidStartPictureInPicture, () => {
      console.info('didStartPictureInPicture');
      });

      Returns void

willStopPictureInPicture: (() => void)

Type declaration

    • (): void
    • Picture in Picture is about to stop.

      willStopPictureInPicture

      Ios

      Since

      4.3.1

      Example

      import VideoView from '@smartface/native/ui/videoview';

      const videoView = new VideoView();
      videoView.on(VideoView.Events.WillStopPictureInPicture, (params) => {
      console.info('willStopPictureInPicture', params);
      });

      Returns void

willStartPictureInPicture: (() => void)

Type declaration

    • (): void
    • Picture in Picture is about to start.

      willStartPictureInPicture

      Deprecated

      Ios

      Since

      4.3.1

      Example

      import VideoView from '@smartface/native/ui/videoview';

      const videoView = new VideoView();
      videoView.on(VideoView.Events.WillStartPictureInPicture, (params) => {
      console.info('willStartPictureInPicture', params);
      });

      Returns void

restoreUserInterfaceForPictureInPictureStopWithCompletionHandler: ((callback: ((parameter?: boolean) => void)) => void)

Type declaration

    • (callback: ((parameter?: boolean) => void)): void
    • Tells the delegate when Picture in Picture is about to stop, to give your app an opportunity to restore its video playback user interface.

      restoreUserInterfaceForPictureInPictureStopWithCompletionHandler

      Deprecated

      Ios

      Since

      4.3.1

      Example

      import VideoView from '@smartface/native/ui/videoview';

      const videoView = new VideoView();
      videoView.on(VideoView.Events.RestoreUserInterfaceForPictureInPictureStopWithCompletionHandler, (params) => {
      console.info('restoreUserInterfaceForPictureInPictureStopWithCompletionHandler', params);
      });

      Parameters

      • callback: ((parameter?: boolean) => void)
          • (parameter?: boolean): void
          • Parameters

            • Optional parameter: boolean

            Returns void

      Returns void

Generated using TypeDoc