system/mini_program_system library

Classes

MiniProgramClipboardPolicy
Host authority for plain-text clipboard access. Reads require independent opt-in, even when writing has been accepted.
MiniProgramClipboardPolicyProvider
MiniProgramClipboardProvider
Trusted host implementation. Read only plain text without coercing a URI or Intent; enforce maxTextLength before returning data across the channel.
MiniProgramPhonePolicy
Host authority to open a dialer with an ordinary telephone number.
MiniProgramPhonePolicyProvider
MiniProgramPhoneProvider
Opens the system dialer. A successful result means UI was opened, not that the user placed or completed a call. Never use direct-call APIs.
MiniProgramVibrationPolicy
Host authority for one bounded system haptic effect per user action.
MiniProgramVibrationPolicyProvider
MiniProgramVibrationProvider
Honors system haptic settings and never starts a repeating vibration.

Exceptions / Errors

MiniProgramSystemException
Sanitized native failure for clipboard, haptics or dialer operations.