Design Template for SDK Packaging

Our company has acquired an SDK that can be used for Android applications. The SDK is written in java and is very large.

I need to create a wrapper for this SDK so that our partners do not need to use the SDK directly, but call our wapper functions instead.

I am wondering what is the best design template for such a job? I watched the proxy design template, but not sure if this is the right one.

Thanks so much for any suggestions,

+4
source share
4 answers

The one that comes to mind is the Facade Scheme .

From the Wikipedia description:

- , , .

, GoF. :

. , .

, .

+4

.

. , SDK, "", , .

, API- . . . API . , . , .

:

  • API- , . ( - , , .)

  • / "" API-, , , -, , .

+3

, , , . API, , () SDK-.

, , , . , . , .

+2

All Articles