Microsoft Graph SDK 文档
Microsoft Graph SDK documentation
我在我的应用程序中使用 microsoft graph apis 以及 microsoft-graph-sdk(客户端)。
我正在使用 sdk 1.7.1,但它不包含几个 api 之类的 places() 来获取地点列表。
最近,我尝试将 sdk 更新到最新的 3.2.0,发现我的所有导入都失败了。几乎所有 类 都被移动到不同的包中。
这是我的请求,这些更改是否有可用的文档?
问题是一些 class/interface 没有在 sdk 3.2.0 中导入(比如 IEventCollectionPage、IEventDeltaCollectionPage)不知道用什么替换它们,因为我现有的实现因此失败。
以下是我要升级到的依赖项:
// https://mvnrepository.com/artifact/com.microsoft.graph/microsoft-graph
compile group: 'com.microsoft.graph', name: 'microsoft-graph', version: '3.2.0'
// https://mvnrepository.com/artifact/com.microsoft.azure/msal4j
compile group: 'com.microsoft.azure', name: 'msal4j', version: '1.5.0'
请帮忙。提前致谢。
鉴于自 v1.7.1 和 v.3.2.0 以来已经发布了很多版本,因此可能没有具体的文档来帮助进行迁移。我建议通过 class 去 class 并参考相关的图形文档,例如。 Places - Java sample.
interfaces/classes可能有变化,请参考Javadoc, I can see that IEventCollectionPage
is now EventCollectionPage and IEventDeltaCollectionPage
is now EventDeltaCollectionPage。
让我知道这是否有帮助,如果您还有其他问题:)
我在我的应用程序中使用 microsoft graph apis 以及 microsoft-graph-sdk(客户端)。 我正在使用 sdk 1.7.1,但它不包含几个 api 之类的 places() 来获取地点列表。 最近,我尝试将 sdk 更新到最新的 3.2.0,发现我的所有导入都失败了。几乎所有 类 都被移动到不同的包中。 这是我的请求,这些更改是否有可用的文档?
问题是一些 class/interface 没有在 sdk 3.2.0 中导入(比如 IEventCollectionPage、IEventDeltaCollectionPage)不知道用什么替换它们,因为我现有的实现因此失败。
以下是我要升级到的依赖项:
// https://mvnrepository.com/artifact/com.microsoft.graph/microsoft-graph
compile group: 'com.microsoft.graph', name: 'microsoft-graph', version: '3.2.0'
// https://mvnrepository.com/artifact/com.microsoft.azure/msal4j
compile group: 'com.microsoft.azure', name: 'msal4j', version: '1.5.0'
请帮忙。提前致谢。
鉴于自 v1.7.1 和 v.3.2.0 以来已经发布了很多版本,因此可能没有具体的文档来帮助进行迁移。我建议通过 class 去 class 并参考相关的图形文档,例如。 Places - Java sample.
interfaces/classes可能有变化,请参考Javadoc, I can see that IEventCollectionPage
is now EventCollectionPage and IEventDeltaCollectionPage
is now EventDeltaCollectionPage。
让我知道这是否有帮助,如果您还有其他问题:)