
org.robolectric.shadows.ShadowPlayerBase Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of framework Show documentation
Show all versions of framework Show documentation
An alternative Android testing framework.
The newest version!
package org.robolectric.shadows;
import android.media.IAudioService;
import android.media.PlayerBase;
import org.robolectric.annotation.Implementation;
import org.robolectric.annotation.Implements;
import org.robolectric.util.ReflectionHelpers;
@Implements(value = PlayerBase.class, isInAndroidSdk = false)
public class ShadowPlayerBase {
@Implementation
public static IAudioService getService() {
return ReflectionHelpers.createNullProxy(IAudioService.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy