NSProcessInfo.BeginActivity(NSActivityOptions, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Begins an activity, allowing the app dev fine-grained control over the system heuristics for power, battery life, and responsiveness.
[Foundation.Export("beginActivityWithOptions:reason:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual Foundation.NSObject BeginActivity (Foundation.NSActivityOptions options, string reason);
abstract member BeginActivity : Foundation.NSActivityOptions * string -> Foundation.NSObject
override this.BeginActivity : Foundation.NSActivityOptions * string -> Foundation.NSObject
Parameters
- options
- NSActivityOptions
- reason
- String
Returns
- Attributes