All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.robolectric.shadows.ShadowSurfaceTexture Maven / Gradle / Ivy

package org.robolectric.shadows;

import android.graphics.SurfaceTexture;
import java.lang.ref.WeakReference;
import org.robolectric.annotation.Implements;
import org.robolectric.util.reflector.ForType;
import org.robolectric.util.reflector.Static;

/** Shadow for {@link android.graphics.SurfaceTexture} */
@Implements(SurfaceTexture.class)
public class ShadowSurfaceTexture {

  @ForType(SurfaceTexture.class)
  interface SurfaceTextureReflector {
    @Static
    void postEventFromNative(WeakReference weakSelf);

    @Static
    void postEventFromNative(Object weakSelf);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy