Platforms to show: All Mac Windows Linux Cross-Platform
Back to GKPlayerMBS class.
GKPlayerMBS.Constructor Private
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GameKit | MBS MacFrameworks Plugin | 12.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
GKPlayerMBS.loadPhotoForSize(size as Integer, tag as Variant = nil)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GameKit | MBS MacFrameworks Plugin | 12.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
size: A constant that determines the size of the photo to load.
When this method is called, it creates a new background task to handle the request. The method then returns control to your game. Later, when the task is complete, Game Kit calls GameKitMBS.loadPhotoForSizeCompleted.
Important The size of the image returned to your game is dependent on both the constant you provided in the initial request and the user interface idiom of the device your game is running on.
The items on this page are in the following plugins: MBS MacFrameworks Plugin.