共用方式為


SKPayment.SimulatesAskToBuyInSandbox 屬性

定義

取得或設定布林值,控制沙箱中是否會模擬「要求購買」流程。

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 3, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public virtual bool SimulatesAskToBuyInSandbox { [Foundation.Export("simulatesAskToBuyInSandbox")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 3, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.Arch64, null)] get; [Foundation.NotImplemented("Not available on SKPayment, only available on SKMutablePayment")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 3, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.Arch64, null)] set; }
member this.SimulatesAskToBuyInSandbox : bool with get, set

屬性值

屬性

適用於