Beispiel #1
0
        /// <summary>
        /// Set lock screen image
        /// </summary>
        /// <param name="args"></param>
        /// <returns></returns>
        internal static async Task <int> SetLockScreenImageAsync(string[] args)
        {
            string imgPath = args[1];
            var    result  = await LockScreenImage.SetAsync(imgPath);

            return(result);
        }
Beispiel #2
0
        /// <summary>
        /// Set lock screen image
        /// </summary>
        /// <param name="args"></param>
        /// <returns></returns>
        internal static async Task <int> SetLockScreenImageAsync(string[] args)
        {
            var imgPath = args[1];
            var result  = await LockScreenImage.SetAsync(imgPath).ConfigureAwait(true);

            return(result);
        }