Files
osu-framework/osu.Framework/Platform/IAndroidGraphicsSurface.cs
Susko3 807ecd63a9 Add SurfaceHandle instead of overloading DisplayHandle
The `DisplayHandle` is very different from the android surface handle.
2024-04-29 23:29:00 +02:00

22 lines
605 B
C#

// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
namespace osu.Framework.Platform
{
public interface IAndroidGraphicsSurface
{
/// <summary>
/// Returns JNI environment handle.
/// </summary>
IntPtr JniEnvHandle { get; }
/// <summary>
/// Android Surface handle.
/// </summary>
/// <remarks>https://developer.android.com/reference/android/view/Surface.html</remarks>
IntPtr SurfaceHandle { get; }
}
}