Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface INativeService

Class for interacting with the underyling native file

Hierarchy

Index

Methods

canReplaceNative

  • canReplaceNative(): boolean
  • Ask the native server whether the user has permission to replace the native file

    Returns boolean

    A boolean indicating whether the user can replace the native file

newNativeFileAdded

  • newNativeFileAdded(): Promise<void>
  • Inform the review interface that a new native file has been uploaded. Assumes that the native file has finished uploading.

    Returns Promise<void>

    A promise that resolves when the review interface has completed handling for the native replacement

off

  • Unregisters an event handler

    Parameters

    • eventType: NativeServiceEventType

      Event to unregister from

    • Optional handler: EventHandler

      Event handler function. If not passed in, it removes all event handlers.

    • Optional once: boolean

      Boolean indicating if the event handler was registered as a one-time event handler (Defaults to false)

    Returns void

on

once