Class GrpcExtensionDataTransfer

java.lang.Object
com.azure.media.videoanalyzer.edge.models.GrpcExtensionDataTransfer

public final class GrpcExtensionDataTransfer extends Object
Describes how media is transferred to the extension plugin.
  • Constructor Details

    • GrpcExtensionDataTransfer

      public GrpcExtensionDataTransfer(GrpcExtensionDataTransferMode mode)
      Creates an instance of GrpcExtensionDataTransfer class.
      Parameters:
      mode - the mode value to set.
  • Method Details

    • getSharedMemorySizeMiB

      public String getSharedMemorySizeMiB()
      Get the sharedMemorySizeMiB property: The share memory buffer for sample transfers, in mebibytes. It can only be used with the 'SharedMemory' transfer mode.
      Returns:
      the sharedMemorySizeMiB value.
    • setSharedMemorySizeMiB

      public GrpcExtensionDataTransfer setSharedMemorySizeMiB(String sharedMemorySizeMiB)
      Set the sharedMemorySizeMiB property: The share memory buffer for sample transfers, in mebibytes. It can only be used with the 'SharedMemory' transfer mode.
      Parameters:
      sharedMemorySizeMiB - the sharedMemorySizeMiB value to set.
      Returns:
      the GrpcExtensionDataTransfer object itself.
    • getMode

      Get the mode property: Data transfer mode: embedded or sharedMemory.
      Returns:
      the mode value.